plotGeneViolin | R Documentation |
Visualize gene expression or cell metadata with violin plot
plotGeneViolin(object, gene, byDataset = TRUE, groupBy = NULL, ...)
plotTotalCountViolin(object, groupBy = "dataset", ...)
plotGeneDetectedViolin(object, groupBy = "dataset", ...)
object |
A liger object. |
gene |
Character gene names. |
byDataset |
Logical, whether the violin plot should be splitted by
dataset. Default |
groupBy |
Names of available categorical variable in |
... |
Arguments passed on to
|
ggplot if using a single gene and not splitting by dataset. Otherwise, list of ggplot.
plotGeneViolin(pbmcPlot, varFeatures(pbmcPlot)[1],
groupBy = "leiden_cluster")
plotTotalCountViolin(pbmc)
plotGeneDetectedViolin(pbmc, dot = TRUE, box = TRUE, colorBy = "dataset")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.