Learn R Programming

metagenomeSeq (version 1.14.0)

cumNormStatFast: Cumulative sum scaling percentile selection

Description

Calculates the percentile for which to sum counts up to and scale by. Faster version than available in cumNormStat. Deviates from methods described in Nature Methods by making use of ro means for reference.

Usage

cumNormStatFast(obj, pFlag = FALSE, rel = 0.1, ...)

Arguments

obj
A matrix or MRexperiment object.
pFlag
Plot the median difference quantiles.
rel
Cutoff for the relative difference from one median difference from the reference to the next.
...
Applicable if pFlag == TRUE. Additional plotting parameters.

Value

Percentile for which to scale data

See Also

fitZig cumNorm cumNormStat

Examples

Run this code

data(mouseData)
p = round(cumNormStatFast(mouseData,pFlag=FALSE),digits=2)

Run the code above in your browser using DataLab