getEICS: Compute extracted ion chromatograms for multiple regions.

Description Usage Arguments Details Value Examples

Description

Computes extracted ion chromatrograms (EICs) for the given M/Z ranges. Intensities are on the log2 scale.

Usage

1
getEICS(object, mzranges)

Arguments

object

An object of class CMSraw or CMSproc.

mzranges

A 2-column matrix where each row corresponds to one M/Z range and the first and second columns are the minimum and maximum M/Z values for the range respectively.

Details

In a given M/Z range, the maximum intensity observed in each scan gives the extracted ion chromatogram.

Value

A list with length equal to the number of rows of mzranges where each list element is a # scans by # samples matrix of EICs (on the log2 scale).

Examples

1
2
3
data(cmsRawExample)
mzranges <- rbind(c(500.01, 500.03), c(501.3, 501.5))
eicList <- getEICS(cmsRawExample, mzranges)

yamss documentation built on Nov. 8, 2020, 6:57 p.m.