Save and load MS data objects to and from different file formats
Source:R/AllGenerics.R
saveMsObject.Rd
The saveMsObject()
and readMsObject()
methods allow serializing and
restoring/importing mass spectrometry (MS) data objects to and from language
agnostic file formats. The type and configuration of the file format is
defined by the second argument to the method, param
.
saveMsObject(object, param)
: saves the MS data objectobject
to file(s) in a format defined byparam
.readMsObject(object, param)
:object
defines the type of MS object that should be returned by the function andparam
the format and file name(s) from which the data should be restored/imported.
Arguments
- object
for
saveMsObject()
: the MS data object to save, forreadMsObject()
: the MS data object that should be returned- param
an object defining and (eventually configuring) the file format and file name or directory to/from which the data object should be exported/imported.
- ...
additional optional arguments. See documentation of respective method for more information.