Export the feature table for further analysis in the MetaboAnalyst
software (or the MetaboAnalystR R package).
Usage
exportMetaboAnalyst(
x,
file = NULL,
label,
value = "into",
digits = NULL,
groupnames = FALSE,
...
)Arguments
- x
XCMSnExp object with identified chromatographic peaks grouped across samples.
- file
character(1)defining the file name. If not specified, thematrixwith the content is returned.- label
either
character(1)specifying the phenodata column inxdefining the sample grouping or a vector with the same length than samples inxdefining the group assignment of the samples.- value
character(1)specifying the value to be returned for each feature. SeefeatureValues()for more details.- digits
integer(1)defining the number of significant digits to be used for numeric. The defaultNULLusesgetOption("digits"). Seeformat()for more information.- groupnames
logical(1)whether row names of the resulting matrix should be the feature IDs (groupnames = FALSE; default) or IDs that are composed of the m/z and retention time of the features (in the formatM<m/z>T<rt>(groupnames = TRUE). See help of the groupnames function for details.- ...
additional parameters to be passed to the
featureValues()function.
