annotate_metabolites_fpa | R Documentation |
This function performs metabolite annotation for a given feature table using an MS1-based approach. It processes both positive and negative ionization modes separately and extracts annotation results.
annotate_metabolites_fpa(
feature_table,
metabolite_database,
column = c("rp", "hilic"),
adduct.table = NULL,
ms1.match.ppm = 10,
rt.match.tol = 5,
mz.ppm.thr = 400,
threads = 3
)
feature_table |
A data frame containing feature data, including 'variable_id', 'mz', 'rt', and 'polarity' columns. |
metabolite_database |
A metabolite database object used for annotation. |
column |
A character string specifying the chromatography column type. Options are '"rp"' (reverse phase) or '"hilic"' (hydrophilic interaction chromatography). Default is '"rp"'. |
adduct.table |
Optional data frame specifying possible adducts. Default is 'NULL'. |
ms1.match.ppm |
Numeric; mass tolerance for MS1 matching in parts per million (ppm). Default is '10'. |
rt.match.tol |
Numeric; retention time tolerance threshold for matching in seconds. Default is '5'. |
mz.ppm.thr |
Numeric; M/Z tolerance threshold for filtering in ppm. Default is '400'. |
threads |
Integer; number of parallel threads to use for annotation. Default is '3'. |
A data frame containing the annotated metabolites with polarity information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.