View source: R/plot_functions.R
QC.violinPlot | R Documentation |
Number of genes/cell, UMI/cell and mitochondiral content/cell are visualized with violin plots. Two ggplot handles are generated. First contains QC metrics pooled across all cells, while second stratifies dataset by grouping variable.
QC.violinPlot(
so,
features = c("nFeature_RNA", "nCount_RNA", "percent.mt"),
group.by = NULL,
plt.log.flag = T,
...
)
so |
Seurat Object |
features |
meta data features to plot. Default is c("nFeature_RNA", "nCount_RNA", "percent.mt"). |
group.by |
meta data field to group plots by. |
plt.log.flag |
Logical specifying whether data are plotted on log scale. Default is True. |
... |
additional arguments passed to Seurat::VlnPlot(...) |
list of ggplot handles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.