RegressMito: Regress MT percentage

Description Usage Arguments Value

View source: R/veni.R

Description

Regress MT percentage

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
RegressMito(
  E,
  M,
  min_genes_before = 0,
  min_genes_after = 0,
  min_umi_before = 0,
  do.par = FALSE,
  num.cores = NULL,
  large = FALSE,
  num.chunks = 20
)

Arguments

E

Expression matrix or a list of expression matrices

M

Mitochondrial gene percentage vector or a list of these vector (see ?GetMito)

min_genes_before

All barcodes with less than min_genes_before detected will be removed prior to background correction.

min_genes_after

All barcodes with less than min_genes_after detected will be removed after background correction.

min_umi_before

All barcodes with less than min_umi_before will be removed prior to background correction.

do.par

If TRUE, regressions will be done in parallel

num.cores

Set number of cores for parallel computation. By default, all available cores - 1 will be used.

large

if TRUE, dataset is chunked prior to regression to prevent memory errors.

num.chunks

if large, the dataset is chunked into num.chunks, and then regressed in parallel.

Value

Background corrected expression matrices


sanofi-pi/veni documentation built on Oct. 12, 2020, 10:17 p.m.