After correspondence analysis (xcms::groupChromPeaks()) the identified LC-MS features can be further grouped based on different criteria into feature groups which contain ideally features representing ions (adducts, isotopes) of the same compound/metabolite.

See MsFeatures::groupFeatures() for an overview on the general feature grouping concept as well as details on the individual settings and parameters.

The available options for groupFeatures on xcms preprocessing results (i.e. on XCMSnExp objects after correspondence analysis with groupChromPeaks()) are:

An ideal workflow grouping features should sequentially perform the above methods (in the listed order).

Feature groups can be accessed with the featureGroups function.

# S4 method for XCMSnExp
featureGroups(object)

# S4 method for XCMSnExp
featureGroups(object) <- value

Arguments

object

an XCMSnExp() object.

value

for featureGroups<-: replacement for the feature groups in object. Has to be of length 1 or length equal to the number of features in object.

See also

plotFeatureGroups() for visualization of grouped features.

Author

Johannes Rainer, Mar Garcia-Aloy, Vinicius Veri Hernandes