normalize-Chromatogram: Normalize chromatographic data

Description Usage Arguments Value Author(s)

Description

normalize normalizes the intensities of a chromatogram by dividing them either by the maximum intensity (method = "max") or total intensity (method = "sum") of the chromatogram.

Usage

1
2
3
4
5
## S4 method for signature 'Chromatogram'
normalize(object, method = c("max", "sum"))

## S4 method for signature 'MChromatograms'
normalize(object, method = c("max", "sum"))

Arguments

object

Chromatogram() or MChromatograms() object.

method

character(1) defining whether each chromatogram should be normalized to its maximum signal or total signal.

Value

the normalized input object.

Author(s)

Johannes Rainer


xcms documentation built on Nov. 8, 2020, 5:13 p.m.