normalize-Chromatogram {xcms}R Documentation

Normalize chromatographic data

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

## 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


[Package xcms version 3.12.0 Index]