cumNorm: Cumulative sum scaling normalization

View source: R/cumNorm.R

cumNormR Documentation

Cumulative sum scaling normalization

Description

Calculates each column's quantile and calculates the sum up to and including that quantile.

Usage

cumNorm(obj, p = cumNormStatFast(obj))

Arguments

obj

An MRexperiment object.

p

The pth quantile.

Value

Object with the normalization factors stored as a vector of the sum up to and including a sample's pth quantile.

See Also

fitZig cumNormStat

Examples


data(mouseData)
mouseData <- cumNorm(mouseData)
head(normFactors(mouseData))


HCBravoLab/metagenomeSeq documentation built on March 17, 2024, 3:21 p.m.