formula_filter: Formula filter object

View source: R/formula_filter.R

formula_filterR Documentation

Formula filter object

Description

This function returns a formulaeFilt object for use with applyFilt

Usage

formula_filter(ftmsObj)

Arguments

ftmsObj

an object of the class 'peakData' or 'compoundData'

Value

Object of class 'formulaFilt' that contains the molecule identifier and whether a formula could be assigned or not. This can be used in conjunction with applyFilt to filter peaks without a formula assigned.

Author(s)

Lisa Bramer

Examples

data("examplePeakData")
filter_obj <- formula_filter(examplePeakData)
peakDataFiltered <- applyFilt(filter_obj, examplePeakData, remove="NoFormula")

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