QCPlots: Plot total genes and total counts histograms

Description Usage Arguments Value See Also

View source: R/veni.R

Description

Plot total genes and total counts histograms

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
QCPlots(
  E,
  print.pdf = T,
  QC = c("Genes detected", "Total counts", "Mito")[1],
  order.by = c("average depth", "mito percentage")[1],
  fn = "default",
  choose = c("Mito", "all")[1],
  min_counts = 100,
  min_genes = 100
)

Arguments

E

Count matrix (see ?Read_h5)

print.pdf

If TRUE, returns pdf files in the working directory. Default is TRUE; if FALSE, returns list of ggplot2 objects.

QC

Type of QC plot, "Genes Detected", "Total Counts" or "Mito". Default is Genes Detected.

order.by

Order by a quantity associated with each sample. Options are "average depth" or "mito percentage", default is AvgDepth.

fn

Filename of the .pdf file. Default is the input parameter QC saved as a .pdf file.

choose

See ?FilterMito or ?GetMito

min_counts

Keep cells with at least min_counts, default is 100.

min_genes

Keep cells with at least min_genes, default is 100.

Value

PDF, histogram of total counts, or a list of ggplot objects.

See Also

DepthPlot; DepthPlotComparison


sanofi-pi/prifti documentation built on Oct. 12, 2020, 8:06 p.m.