mlr: Function to implement mlr normalization

Description Usage Arguments Value References Examples

View source: R/mlr.R

Description

Calculate normalization factor, histogram peak and width at half peak for a vector

Usage

1
mlr(ratio, doplot)

Arguments

ratio

Vector, typically of log ratios

doplot

A logic value, wheter to plot the ratio histograms (FALSE as default)

Value

nf

Normalization factor

peak

Histogram peak

wdt

Width at half peak

References

Find mlr reference.

Examples

1
2
3
mlr(rnorm(1000))
# with shift
mlr(0.5 + rnorm(10000))

SwathXtend documentation built on Nov. 8, 2020, 6:42 p.m.