Description Usage Arguments Value
View source: R/peaklist_annotation.R
This function filters a compound list based on mz value.
It is meant to be used to annotate a peaklist by running through (with map
)
each mz in the peaklist and adding a nested table of hits to the peaklist.
1 | cmp_mz_filter(mz, ref_tbl, mz_col = "mz", ppm = 30)
|
mz |
Query mz to filter by |
ref_tbl |
A |
mz_col |
Character string. Column name of the column containing the mz values. |
ppm |
Maximum ppm value between query mass and database mz. |
A tibble
containing the same columns as the input table but having add a ppm column for the deviation between compound mz and query mass.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.