assign_elemental_composition: Assign elemental composition to each peak/mass

View source: R/assign_elemental_composition.R

assign_elemental_compositionR Documentation

Assign elemental composition to each peak/mass

Description

Assigns an elemental composition class to each peak/mass, where possible, based which of: Carbon, Hydrogen, Oxygen, Nitrogen, Sulfur, and Phosporus are present in the peak/mass formula

Usage

assign_elemental_composition(ftmsObj)

Arguments

ftmsObj

an object of class 'peakData' or 'compoundData', typically a result of as.peakData or mapPeaksToCompounds.

Value

an object of the same class as ftmsObj with a column added in e_meta giving the class information for each peak/compound, when possible

Author(s)

Lisa Bramer


EMSL-Computing/fticRanalysis documentation built on March 23, 2024, 8:36 p.m.