Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple different errors using Plot2 #82

Open
k-ohare opened this issue May 30, 2024 · 0 comments
Open

Multiple different errors using Plot2 #82

k-ohare opened this issue May 30, 2024 · 0 comments

Comments

@k-ohare
Copy link

k-ohare commented May 30, 2024

I have been trying to use Compass to analyze an experiment with multiple stimulation conditions to look at 4 different markers. I have created Compass results for two conditions and am trying to plot them together using the plot2 function.

The first error I encountered was:

Error in plot2(fit_tcr, fit_vim) :
Internal error: could not match categories between the matrices from 'x' and 'y'
In addition: Warning message:
In colnames(M_x) == colnames(M_y) :
longer object length is not a multiple of shorter object length

Looking back, it seems that when the compass results were generated, one condition generated 16 categories and the other only generated 15 categories despite coming from the same CompassContainer and having the category filter set to 0, so that no categories get filtered out.

Is there a work around to enforce that the same number of categories are tested for each analysis?

Additionally, when I attempted to plot 2 conditions that both tested 16 categories I encountered this error:

Error in if (any(0 > rgb) || any(rgb > 1)) stop("rgb values must be in [0, maxColorValue]") :
missing value where TRUE/FALSE needed
In addition: There were 15 warnings (use warnings() to see them)

The expanded warnings showed:
In FUN(X[[i]], ...) : NAs introduced by coercion (repeated 15 times)

Is there a TRUE/FALSE argument that I am missing in the function causing this?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant