if (FALSE) {
# Example 1: Annotate pathways from PICRUSt2 output file
pathway_annotation(file = "path/to/picrust2_output.tsv",
pathway = "KO")
}
if (FALSE) {
# Example 2: Annotate pathways from pathway_daa output
# Assuming you have daa_results from pathway_daa function
daa_results <- pathway_daa(abundance, metadata, group = "Group")
annotated_results <- pathway_annotation(pathway = "KO",
daa_results_df = daa_results,
ko_to_kegg = FALSE)
}
Run the code above in your browser using DataLab