Description Usage Arguments Value Author(s) See Also Examples
Plot Violin
1 2 3 4 5 6 7 |
object |
Object. |
genes |
Gene identifiers. Must match the rownames of the object. |
scale |
if "area" (default), all violins have the same area (before trimming the tails). If "count", areas are scaled proportionally to the number of observations. If "width", all violins have the same maximum width. |
fill |
Desired ggplot fill scale. Must supply discrete values. When set
to |
legend |
Include plot legend. |
ggplot
.
Michael Steinbaugh
Other Gene Expression Functions: plotDot
,
plotGene
1 2 3 4 | # seurat ====
object <- seurat_small
genes <- head(rownames(object), 4L)
plotViolin(object, genes = genes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.