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,
  ...
)

Arguments

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(...)

Value

list of ggplot handles