powered by
Write MSP file for NIST search
writeMSP(list, name = "unknown", sep = FALSE)
none a MSP file will be created.
a list with spectra information
name of the compounds
numeric or logical the numbers of spectra in each file and FALSE to include all of the spectra in one msp file
if (FALSE) { ins <- c(10000,20000,10000,30000,5000) mz <- c(101,143,189,221,234) writeMSP(list(list(spectra = cbind.data.frame(mz,ins))), name = 'test') }
Run the code above in your browser using DataLab