Learn R Programming

MALDIquantForeign (version 0.14.1)

importMzXml: Import mzXML files

Description

This function imports files in mzXML file format into MassSpectrum-class or MassPeaks-class objects.

Usage

importMzXml(path, ...)

Value

a list of MassSpectrum-class or MassPeaks-class objects (depending on the centroided argument).

Arguments

path

character, path to directory or file which should be read in.

...

arguments to be passed to readMzXmlFile.

Author

Sebastian Gibb

References

https://strimmerlab.github.io/software/maldiquant/,
Definition of mzXML format: http://tools.proteomecenter.org/wiki/index.php?title=Formats:mzXML

See Also

MassSpectrum-class, MassPeaks-class, readMzXmlFile

Examples

Run this code

library("MALDIquant")
library("MALDIquantForeign")

## get example directory
exampleDirectory <- system.file("exampledata", package="MALDIquantForeign")

## import
s <- importMzXml(exampleDirectory)

Run the code above in your browser using DataLab