writeMSP | R Documentation |
Write MSP file for NIST search
writeMSP(list, name = "unknown", sep = FALSE)
list |
a list with spectra information |
name |
name of the compounds |
sep |
numeric or logical the numbers of spectra in each file and FALSE to include all of the spectra in one msp file |
none a MSP file will be created.
## Not run: 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') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.