plotrtms: Plot mass spectrum of certain retention time and return mass...

View source: R/general.R

plotrtmsR 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 = FALSE)

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)

enviGCMS documentation built on Feb. 16, 2023, 8:08 p.m.