View source: R/getset_MSData.R
findMSnScans | R Documentation |
Get a list of MS scans based on parent m/z and retention time Will return all scans with parentMZ within mz +/- ppm OR mzwid, AND retentionTime within rt +/- rtwid.
findMSnScans(data, ...) ## S3 method for class 'reactivevalues' findMSnScans(data, ...) ## S3 method for class 'OnDiskMSnExp' findMSnScans(data, mz, rt, ppm = 5, mzwid = 0, rtwid = 30, MSlevel = 2)
data |
an OnDiskMSnExp or MseekValues (reactivevalues) object |
... |
arguments passed to |
mz |
parentMZ value to search for. mz and rt can be vectors, but need to be of equal length |
rt |
retention time to search for. mz and rt can be vectors, but need to be of equal length |
ppm |
mz tolerance in ppm |
mzwid |
mz tolerance in absolute mz values |
rtwid |
rt tolerance in seconds |
MSlevel |
which mz level to |
a subset of the data@featureData@data
data.frame matching
the search criteria, with an additional filename
column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.