wrenchNorm: Computes normalization factors using wrench instead of...

View source: R/wrenchNorm.R

wrenchNormR Documentation

Computes normalization factors using wrench instead of cumNorm

Description

Calculates normalization factors using method published by M. Sentil Kumar et al. (2018) to compute normalization factors which considers compositional bias introduced by sequencers.

Usage

wrenchNorm(obj, condition)

Arguments

obj

an MRexperiment object

condition

case control label that wrench uses to calculate normalization factors

Value

an MRexperiment object with updated normalization factors. Accessible by normFactors.

See Also

cumNorm fitZig

Examples


data(mouseData)
mouseData <- wrenchNorm(mouseData, condition = mouseData$diet)
head(normFactors(mouseData))


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