Export to mzML files
This function exports
MassSpectrum-class
objects into mzML files.
## S4 method for signature 'MassSpectrum' exportMzMl(x, file, force=FALSE, ...) ## S4 method for signature 'list' exportMzMl(x, path, force=FALSE, ...)
x |
a |
file |
|
force |
|
path |
|
... |
arguments to be passed to internal functions. |
Sebastian Gibb
http://strimmerlab.org/software/maldiquant/,
HUPO Proteomics Standards Inititative mzML 1.1.0 Specification:
http://www.psidev.info/mzml
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a single spectrum exportMzMl(s[[1]], file="spectrum.mzML") ## export a list of spectra exportMzMl(s, path="spectra.mzML") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.