getSpec_modified: Modification to xcms::getSpec()

Description Usage Arguments Value

Description

A function that extract scan(s) from a xcmsRaw object. A bug that prevented scan averaging of MS2 data was removed. Incontrast to the original getSpec, scanrange must be provided (default NULL).

Usage

1
getSpec_modified(object, scanrange = NULL, ...)

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

A data frame with columns of the names mz and intensity.


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