writeMSP {enviGCMS}R Documentation

Write MSP files for NIST search

Description

Write MSP files for NIST search

Usage

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

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

## End(Not run)

[Package enviGCMS version 0.6.6 Index]