cumNormStatFast: Cumulative sum scaling percentile selection

View source: R/cumNormStatFast.R

cumNormStatFastR Documentation

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


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


HCBravoLab/metagenomeSeq documentation built on Dec. 20, 2024, 4:06 p.m.