Exports the superspectra of a given MS2Exp into an .mgf format file
exportMGF(struct, id, file, whichSpec = NA)
| struct | RHermesExp object |
|---|---|
| id | Index of the MS2Exp that you want to export |
| file | Name of the output file, without the .mgf termination |
| whichSpec | Which entries to export. Defaults to all of them. |
An .msf file
Other Exports:
exportMSP(),
exportSIRIUS(),
exportmzML()
if(FALSE){ exportMGF(struct, 1, "output") }