RDataParam | R Documentation |
The 'RDataParam' class and method allow users to save an 'XcmsExperiment' object as an .RData file with a chosen filename. The object gets exported using ['save()'] function. This 'param' class and method are part of the possible dispatch of the generic function 'storeResults'.
RDataParam(fileName = tempfile())
## S4 method for signature 'XcmsExperiment,RDataParam'
storeResults(object, param)
fileName |
for 'RDataParam' 'character(1)', defining the file name. The default will be 'tempfile()'. |
object |
|
param |
The parameter object selecting and configuring the format for
saving. It can be one of the following classes: |
for 'RDataParam': a 'RDataParam' class. 'storeResults' does not return anything but saves the object to a RData file.
Philippine Louail
Other xcms result export formats.:
PlainTextParam
## Load a test data set with detected peaks
faahko_sub <- loadXcmsData("faahko_sub2")
## Define param
param <- RDataParam(fileName = "example_xcms_object")
## Save as RData
storeResults(object = faahko_sub, param = param)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.