assign_mf: Assign Molecular Formulae Based on Element Counts

View source: R/assign_mf.R

assign_mfR Documentation

Assign Molecular Formulae Based on Element Counts

Description

Construct molecular formulae based on element counts

Usage

assign_mf(ftmsObj, metacyc = FALSE)

Arguments

ftmsObj

an object of class 'ftmsData', typically a result of as.peakData. e_meta must be present.

metacyc

TRUE/FALSE, use MetaCyc style formulae? (FALSE by default)

Details

Assigns molecular formulae for observed peaks, when possible. Formulae are assigned in a manner so they can be matched to databases (e.g. MetaCyc). If a Carbon 13 column is given, formulae are not assigned to peaks where C13 is present.

Value

an object of class 'ftmsData' with a column in e_meta giving the molecular formula.

Author(s)

Lisa Bramer


EMSL-Computing/fticRanalysis documentation built on Dec. 18, 2024, 9:51 p.m.