Learn R Programming

rtmsEcho (version 0.2.4)

getFullScanSpectrum: Extract a full mass spectrum for a given well

Description

Extract a full mass spectrum for a given well

Usage

getFullScanSpectrum(scanfile, tic, sample, ejections, well)

Value

An object of class rtmsSpectrum representing the full mass spectrum for the given well

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()

well

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