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

conds.to.plot in gene.plot not functional #24

Open
joybarrett08 opened this issue Nov 2, 2020 · 0 comments
Open

conds.to.plot in gene.plot not functional #24

joybarrett08 opened this issue Nov 2, 2020 · 0 comments

Comments

@joybarrett08
Copy link

Hi Reza,

I am trying to look at gene expression of a specific condition in my UMAP from a converted Seurat object, however, whenever I try to specify the condition this plot comes up blank. I've checked to make sure the names of the conditions when I initially aggregated the data match the name that I specify in the command, however that does not seem to be the issue. When I try to plot without conds.to.plot it works, however when I add the command back in I receive the blank image. Any suggestions?

Here is the code I used when aggregating the data:
my.data <- data.aggregation(samples = c("sample1","sample2", "sample3", "sample4", "sample5"), condition.names = c("S1","S2", "S3", "S4", "S5"))

and here is the code I used to call the plot, which comes out blank

C <- gene.plot(my.obj, gene = "NFIB", plot.type = "scatterplot", conds.to.plot = "S2", interactive = F, out.name = "scatter_plot", plot.data.type = "umap")

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