You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to generate a Kernel Density plot with my scRNAseq data for a particular list of genes. The vignette of this package shows you an example plotting the join density of 2 genes. I have been checking the documentation and it doesn't seem that you have a limit of genes to plot.
However, when I try to add more genes (<2)... I am having problems (it doesn't generate anything).
Example:
library(Seurat)
library(Nebulosa)
data <- SeuratObject::pbmc_small
data <- RunPCA(data)
data <- RunUMAP(data, dims = 1:10)
data <- FindNeighbors(data, dims = 1:10)
data <- FindClusters(data)
# it works
p4 <- plot_density(data, c("CD8A", "RUFY1"), joint = TRUE)
p4 + plot_layout(ncol = 1)
If I add more genes,, it generates an empty plot (it doesn't give me any error)
I want to generate a Kernel Density plot with my scRNAseq data for a particular list of genes. The vignette of this package shows you an example plotting the join density of 2 genes. I have been checking the documentation and it doesn't seem that you have a limit of genes to plot.
However, when I try to add more genes (<2)... I am having problems (it doesn't generate anything).
Example:
If I add more genes,, it generates an empty plot (it doesn't give me any error)
My environment:
Could anybody help me, please? Any feedback will be well received.
Thanks very much in advance!
The text was updated successfully, but these errors were encountered: