This function returns a formulaeFilt object for use with applyFilt
formula_filter(ftmsObj)
an object of the class 'peakData' or 'compoundData'
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.