Learn R Programming

rtmsEcho (version 0.2.4)

getFullScanAreas: Get the total area for given masses for a particular well

Description

Get the total area for given masses for a particular well

Usage

getFullScanAreas(scanfile, tic, sample, ejections, peaks, well)

Value

A data frame containing the total intensity for rtmsPeak gvien and each ejection; see Details for column specifics.

Arguments

scanfile

A file path to a Sciex raw scan file (extension .wiff.scan) containing the raw data referenced by the .wiff file from which the other parameters were extracted

tic

A total ion chromatogram of the format outputby getTIC() or getAllTIC()

sample

The particular object from the samples field of the rtmsWiffReader object, which in this case contains binary offsets into the .wiff.scan file

ejections

An ejection table listing the timing and boundaries of the total ion chromatogram peaks for all shots in the run, as returned by measureEjections()

peaks

A named list of peak objects of class rtmsPeak

well

The well (a string) or well index (an integer) to be measured

Details

The table return includes a measurement of total area for each of the mass transitions listed in sample. It contains one row for each measured shot each mass transition, with the following columns:

  • shotorder: The order of the peak within the shots fired during the run

  • well: The alphanumeric well name of the well from which the shot was fired

  • time: The time (in seconds) after the beginning of the run at which the intensity from the shot was at its peak

  • massindex: The index of the measured mass transition in the set of masses in the given sample

  • mass: The name of the mass transition measured (often a compound name or id)

  • area: The intensity area (in counts) for that particular mass transition from that ejection