View source: R/visualization.R
StackedVlnPlot | R Documentation |
Stacked Violin plot
StackedVlnPlot(
object,
features,
idents = NULL,
split.by = NULL,
color.use = NULL,
colors.ggplot = FALSE,
show.median = FALSE,
median.size = 1,
angle.x = 90,
vjust.x = NULL,
hjust.x = NULL,
show.text.y = TRUE,
line.size = NULL,
pt.size = 0,
plot.margin = margin(0, 0, 0, 0, "cm"),
...
)
object |
seurat object |
features |
Features to plot (gene expression, metrics) |
idents |
Which classes to include in the plot (default is all) |
split.by |
Name of a metadata column to split plot by; |
color.use |
defining the color for each cell group |
colors.ggplot |
whether use ggplot color scheme; default: colors.ggplot = FALSE |
show.median |
whether show the median value |
median.size |
the shape size of the median |
angle.x |
angle for x-axis text rotation |
vjust.x |
adjust x axis text |
hjust.x |
adjust x axis text |
show.text.y |
whther show y-axis text |
line.size |
line width in the violin plot |
pt.size |
size of the dots |
plot.margin |
adjust the white space between each plot |
... |
Extra parameters passed to VlnPlot from Seurat package |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.