QCPlot | R Documentation |
This function generates a series of box plots as quality control for a Seurat object
QCPlot(
seurat_obj,
y_elements = c("nCount_RNA", "nFeature_RNA", "percent.mt"),
group_by = "seurat_clusters",
y_lab = c("UMI Count", "Gene Count", "% MT"),
x_lab = "Cluster ID",
stage = "orig.ident",
quantiles = c(0.25, 0.75),
...
)
seurat_obj |
Seurat object |
y_elements |
seurat_obj@meta.data column to plot QC metrics for |
group_by |
seurat_obj@meta.data column to group cells by on x axis |
y_lab |
array of labels for y axis reflecting y_elements |
x_lab |
label for x axis |
stage |
seurat_obj@meta.data column to stack cell count bars by |
quantiles |
Percent quantiles to plot on bar plots. Can be either NULL, a single element, or an array (length 2) with lower and upper percent |
... |
Extra arguments to be passed to grid.arrange |
plot output from grid.arrange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.