qc_plot: Quickly plot common qc metrics

View source: R/qc_plot.R

qc_plotR Documentation

Quickly plot common qc metrics

Description

Plot qc metric, optional with a linear secondary axis. When SO1 only is provided: Only plot cells from one Seurat object. When SO1 and SO2 are provided: Plot additionally those cells that have been filtered from that object with more cells. Orig.

Usage

qc_plot(
  SO1,
  SO2 = NULL,
  qc_cols = c("nCount_RNA_log", "nFeature_RNA_log", "pct_mt_log", "dbl_score_log"),
  x_cat = "orig.ident",
  sec_axis_lin = T
)

Arguments

SO1

Seurat object 1

SO2

Seurat object 2, optional

qc_cols

QC columns on y-axes

x_cat

meta data column for x-axis

sec_axis_lin

plot a secondary axis with linear transformation of qc cols


Close-your-eyes/scexpr documentation built on April 21, 2023, 10:27 a.m.