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)

beyergroup/ADImpute documentation built on Dec. 19, 2021, 8:48 a.m.