plotrtms {enviGCMS}R Documentation

Plot mass spectrum of certain retention time and return mass spectrum vector (MSP file) for NIST search

Description

Plot mass spectrum of certain retention time and return mass spectrum vector (MSP file) for NIST search

Usage

plotrtms(data, rt, ms, msp = F)

Arguments

data

imported data matrix of GC-MS

rt

vector range of the retention time

ms

vector range of the m/z

msp

logical, return MSP files or not, default False

Value

plot, vector and MSP files for NIST search

Examples

## Not run: 
matrix <- getmd(rawdata)
plotrtms(matrix,rt = c(500,1000),ms = (300,500))

## End(Not run)

[Package enviGCMS version 0.6.6 Index]