findMSnScans: findMSnScans

View source: R/getset_MSData.R

findMSnScansR Documentation

findMSnScans

Description

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.

Usage

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)

Arguments

data

an OnDiskMSnExp or MseekValues (reactivevalues) object

...

arguments passed to findMSnScans.OnDiskMSnExp

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

Value

a subset of the data@featureData@data data.frame matching the search criteria, with an additional filename column


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.