Learn R Programming

metagenomeSeq (version 1.14.0)

cumNormMat: Cumulative sum scaling factors.

Description

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

Usage

cumNormMat(obj, p = cumNormStatFast(obj), sl = 1000)

Arguments

obj
A matrix or MRexperiment object.
p
The pth quantile.
sl
The value to scale by (default=1000).

Value

Returns a matrix normalized by scaling counts up to and including the pth quantile.

See Also

fitZig cumNorm

Examples

Run this code

data(mouseData)
head(cumNormMat(mouseData))

Run the code above in your browser using DataLab