Learn R Programming

xcms (version 1.48.0)

retcor-methods: Correct retention time from different samples

Description

To correct differences between retention times between different samples, a number of of methods exist in XCMS. retcor is the generic method.

Arguments

object
method
Method to use for retention time correction. See details.
...
Optional arguments to be passed along

Value

An xcmsSet object with corrected retntion times.

Methods

object = "xcmsSet"
retcor(object, ...)

Details

Different algorithms can be used by specifying them with the method argument. For example to use the approach described by Smith et al (2006) one would use: retcor(object, method="loess"). This is also the default.

Further arguments given by ... are passed through to the function implementing the method.

A character vector of nicknames for the algorithms available is returned by getOption("BioC")$xcms$retcor.methods. If the nickname of a method is called "loess", the help page for that specific method can be accessed with ?retcor.loess.

See Also

retcor.loess retcor.obiwarp xcmsSet-class,