Learn R Programming

rtmsEcho (version 0.2.4)

getMRMChromatograms: Extract full chromatograms for each mass transition

Description

Extract full chromatograms for each mass transition

Usage

getMRMChromatograms(scanfile, tic, sample)

Value

A single data frame expressing all chromatograms in a "long" format, with the following columns:

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

  • time: The time (in seconds) at which the intensity was measured

  • intensity: The intensity for the given mass transition at the given time

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 data.frame as extracted by getTIC() or getAllTIC()

sample

A "sample" object representing a run in a .wiff file, from the samples field of an rtmsWiffReader object, containing information about the mass transitions measured in that run