Reads mass spectrometry data in mzXML format.
Reads mass spectrometry data in mzXML format defined in http://tools.proteomecenter.org/mzXMLschema.php.
readMzXmlFile(mzXmlFile, removeMetaData = FALSE, verbose = FALSE)
mzXmlFile |
|
removeMetaData |
|
verbose |
|
A list of spectra and metadata.
spectrum$mass
: A vector of calculated mass.
spectrum$intensity
: A vector of intensity values.
metaData
: A list of metaData depending on read spectrum.
Sebastian Gibb mail@sebastiangibb.de
Definition of mzXML
format:
http://tools.proteomecenter.org/mzXMLschema.php
## load library library("readMzXmlData") ## get examples directory exampleDirectory <- system.file("Examples", package="readMzXmlData") ## read example spectrum spec <- readMzXmlFile(file.path(exampleDirectory, "A1-0_A1.mzXML")) ## print metaData print(spec$metaData) ## plot spectrum plot(spec$spectrum$mass, spec$spectrum$intensity, type="l")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.