Exports the superspectra of a given MS2Exp ID into an mzML format file. Warning! The retention time information is not included in the mzML file.

exportmzML(struct, id, fname, whichSpec = NA)

Arguments

struct

RHermesExp object

id

Index of the MS2Exp that you want to export

fname

Name of the output file, without the .mzML termination

whichSpec

Which entries to export. Defaults to all of them.

Value

An .mzML file

See also

Other Exports: exportMGF(), exportMSP(), exportSIRIUS()

Author

Jordi Capellades

Examples

if(FALSE){ exportmzML(struct, 1, "output") }