cumNormMat: Cumulative sum scaling factors.

View source: R/cumNormMat.R

cumNormMatR Documentation

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


data(mouseData)
head(cumNormMat(mouseData))


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