rtmsPeakList {rtms} | R Documentation |
Create a list of RTMS m/z peak objects
Description
Generates a list of objects of class rtmsPeak
which can be used to extract
a sample or sample set from other RTMS objects.
Usage
rtmsPeakList(values, peakWidth = 0.1, windowWidth = NULL)
Arguments
values |
The m/z values that the peaks is intended to measure |
peakWidth |
The width of each peak centered on |
windowWidth |
The width of each optional wider window around the m/z
values used to show the peaks in context. Operates by the same principles as
|
Value
A list of objects of class rtmsPeak
Examples
peaks <- rtmsPeakList(c(1516.83,1530.84),peakWidth=0.2,windowWidth = c(5,10))
names(peaks) <- c("Product","Substrate")