View source: R/seurat_related.R
DoVlnPlot_stack | R Documentation |
Plot stack violin plot from Seurat object
DoVlnPlot_stack( object, features, cols = NULL, group.by = NULL, type = "h", fill_by = "cluster" )
object |
Seurat obj |
features |
gene symbols |
cols |
color list |
group.by |
group by |
type |
which type, h or v |
fill_by |
like group by |
genes2=c("Cd79a", "Igha", "Cd3d", "Itgax", "Ly6g"); colors2=c("red", "blue", "red3", "orange", "purple"); DoVlnPlot_stack(scObj_known2, features = genes2, cols =colors2, group.by = "ident", fill_by = "gene", type="v")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.