findScans: A function that returns scan indexes from a precursor m/z...

Description Usage Arguments Value

Description

This function retrieves scan indexes ("real scan number" and scan number within MS2 scans) from precursor ion list (from meta-data).

Usage

1
findScans(prmz, xraw, mzabs = 0.1)

Arguments

prmz

A numeric value. Numeric vectors cannot be used (in that cases, only the first element will be used).

xraw

An object of class xcmsRaw, which is read into by xcmsRaw() with includeMSn = TRUE option.

mzabs

Search tolerance in m/z (not ppm).

Value

Returns a data frame, with columns PrecursorMz, ScanNum, and ScanNumMS2.


ohgane/ShotgunLipidomicsR documentation built on May 24, 2019, 11:55 a.m.