exportMSP: exportMSP

View source: R/MS2_methods.R

exportMSPR Documentation

exportMSP

Description

Exports the superspectra of a given MS2Exp ID into an .msp format file

Usage

exportMSP(struct, id, file, whichSpec = NA)

Arguments

struct

RHermesExp object

id

Index of the MS2Exp that you want to export

file

Name of the output file, without the .msp termination

whichSpec

Which entries to export. Defaults to all of them.

Value

An .msp file

See Also

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

Examples

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

RogerGinBer/RHermes documentation built on Nov. 6, 2022, 11:34 a.m.