Description Usage Arguments Details Value
View source: R/stackedViolin.R
Reproduce scanpy stacked violin plot with Seurat.
1 2 3 4 5 6 7 8 9 | StackedVlnPlot(
obj,
features,
pt.size = 0,
plot.margin = ggplot2::unit(c(-0.75, 0, -0.75, 0), "cm"),
wrap_title = NULL,
break_length = 23,
...
)
|
obj |
A Seurat object. |
features |
Genes to be plotted. |
pt.size |
Size of jitter points. Default is 0 (No point is plotted). |
plot.margin |
Adjust the white space between each plot. |
Credit to: Tang Ming https://divingintogeneticsandgenomics.rbind.io/post/stacked-violin-plot-for-visualizing-single-cell-data-in-seurat/
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.