NormalizeRPM: RPM normalization

Description Usage Arguments Value Examples

View source: R/Normalize.R

Description

NormalizeRPM performs RPM normalization, with possibility to log the result

Usage

1
2
NormalizeRPM(data, sce = NULL, log = FALSE, scale = 1,
pseudo.count = 1)

Arguments

data

matrix; raw data (genes as rows and samples as columns)

sce

SingleCellExperiment; raw data

log

logical; log RPMs?

scale

integer; scale factor to divide RPMs by

pseudo.count

numeric; if log = TRUE, value to add to RPMs in order to avoid taking log(0)

Value

matrix; library size normalized data

Examples

1
demo <- NormalizeRPM(ADImpute::demo_data)

ADImpute documentation built on Nov. 8, 2020, 5:30 p.m.