mnnCorrect_cds: Performs mNN batch correction on PCA data from a cds

Usage Arguments Value

View source: R/batchCorrect.R

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
mnnCorrect_cds(
  cds,
  batch_term,
  fast = TRUE,
  k = 20,
  sigma = 0.1,
  cos.norm.in = TRUE,
  cos.norm.out = TRUE,
  svd.dim = 0L,
  var.adj = TRUE,
  compute.angle = FALSE,
  subset.row = NULL,
  order = NULL,
  pc.approx = FALSE,
  irlba.args = list()
)

Arguments

cds

Input cell_data_set object.

batch_term

variable in ColData (pData) of cds that informs the batch to be corrected

fast

Whether to perform fastMNN or mnnCorrect (see scran package)

min_expr

Numeric indicating expression threshold

exprs_bin

Boolean whether to bin genes by mean expression

exprs_cuts

Numeic indicating number of bins if using exprs_bin

Value

Updated cell_data_set object


scfurl/m3addon documentation built on Aug. 9, 2021, 5:30 p.m.