Skip to contents

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

if (FALSE) { # \dontrun{
plotrtms(matrix,rt = c(500,1000),ms = c(300,500))
} # }