calculate_redundance | R Documentation |
This function calculates redundancy metrics in a metabolite annotation table. It evaluates the number of distinct compound classes per compound and the number of compounds assigned to each peak.
calculate_redundance(annotation_table)
annotation_table |
A data frame containing metabolite annotations, including 'Lab.ID', 'compound_class', and 'variable_id'. |
A numeric vector of length two: - The first value represents the average number of compound classes per compound ('redundancy1'). - The second value represents the average number of compounds assigned to each peak ('redundancy2').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.