Multiplicity filtering: Removes peaks which occur only once in a n-spectra set.
For every compound, every peak (with annotated formula) is compared across all spectra. Peaks whose formula occurs only once for all collision energies / spectra types, are discarded. This eliminates "stochastic formula hits" of pure electronic noise peaks efficiently from the spectra. Note that in the author's experimental setup two spectra were recorded at every collision energy, and therefore every peak-formula should appear at least twice if it is real, even if it is by chance a fragment which appears on only one collision energy setting. The function was not tested in a different setup. Therefore, use with a bit of caution.
An aggregate peak data.frame containing all peaks to be analyzed; with at least
Which column the assigned formula is stored in. (Needed to separately process
Whether the best formula for each peak should be re-determined.
This is necessary for results from the ordinary
The peak table is returned, enriched with columns:
formulaMultiplicityThe # of occurrences of this formula in the spectra of its compounds.
Michael Stravs, EAWAG <email@example.com>
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.