readMSData:
Imports mass-spectrometry raw data files as 'MSnExp' instances.
Description
Reads as set of XML-based mass-spectrometry data files and generates
an "MSnExp" object. This function uses the
functionality provided by the mzR package to access data and
meta data in mzData, mzXML and mzML.
MS level spectra to be read. Use '1' for MS1 spectra or any larger
numeric for MSn spectra. Default is '2'.
centroided
Logical indicating whether spectra are centroided or not. Default is
'FALSE'. Used to initialise "MSnProcess" object
in processingData slot.
smoothed
Logical indicating whether spectra already smoothed or not. Default is
'FALSE'. Used to initialise "MSnProcess" object
in processingData slot.
removePeaks
If > 0 (default), all peaks less or equal then value will set to
0. See removePeaks for more details and examples.
clean
Logical indicating whether 0 intensity peaks should be discarded
from spectra. Useful is removePeaks is set. Default is 'FALSE'. See
clean for more details and examples.
cache
Numeric indicating caching level. Default is 0 for MS1 and 1 MS2 (or
higher). Under development.