writeMSP: Write MSP files for NIST search

Description Usage Arguments Value Examples

View source: R/io.R

Description

Write MSP files for NIST search

Usage

1
writeMSP(mz, outfilename = "unknown")

Arguments

mz

a intensity vector, who name is the mass in m/z

outfilename

the name of the MSP file, default is 'unknown'

Value

none a MSP file will be created at the subfolder working dictionary with name 'MSP'

Examples

1
2
3
4
5
6
## Not run: 
mz <- c(10000,20000,10000,30000,5000)
names(mz) <- c(101,143,189,221,234)
writeMSP(mz,'test')

## End(Not run)

enviGCMS documentation built on July 11, 2017, 1:03 a.m.