
Last chance! 50% off unlimited learning
Sale ends in
MSnExp
class encapsulates data and meta-data for mass
spectrometry experiments, as described in the slots
section. Several data files (currently in mzXML
) can be loaded
together with the function readMSData
. This class extends the virtual "
class.
In version 1.19.12, the polarity
slot had been added to the
"
class (previously in
"
). Hence, "MSnExp"
objects
created prior to this change will not be valid anymore, since all MS2
spectra will be missing the polarity
slot. Object can be
appropriately updated using the updateObject
method.
new("MSnExp",...)
. However, it is preferred to use the
readMSData
function that will read raw mass
spectrometry data to generate a valid "MSnExp"
instance."pSet "
, directly.
Class "VersionedBiobase "
, by class "pSet", distance 2.
Class "Versioned "
, by class "pSet", distance 3."pSet "
and readMSData
for loading
mzXML
, mzData
or mzML
files to generate an
instance of MSnExp
.mzxmlfile <- dir(system.file("extdata",package="MSnbase"),
pattern="mzXML",full.names=TRUE)
msnexp <- readMSData(mzxmlfile)
msnexp
Run the code above in your browser using DataLab