Description Usage Arguments Value See Also Examples
Compute area under curve (AUC) for each subject and feature. Creates a pseudo MetaboSet object, where the "samples" are subjects (or subject/group combinations in case the same subjects are submitted to different treatments) and the "abundances" are AUCs. This object can then be used to compute results of e.g. t-tests of AUCs between groups.
1 2  | perform_auc(object, time = time_col(object),
  subject = subject_col(object), group = group_col(object))
 | 
object | 
 a MetaboSet object  | 
time, subject, group | 
 column names of pData(object), holding time, subject and group labels  | 
a pseudo MetaboSet object with the AUCs
1 2 3 4  | # Drop QC samples before computing AUCs
aucs <- perform_auc(drop_qcs(example_set))
# t-test with the AUCs
t_test_results <- perform_t_test(aucs, formula_char =  "Feature ~ Group")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.