Replies: 1 comment
|
Hi @cmiko6492, yes for the practical goal of excluding human/eukaryote-oriented pathway classes in bacterial/prokaryotic PICRUSt2 analysis, but not by setting
For bacterial/prokaryotic data, the recommended workflow is to filter at the KO-to-KEGG pathway abundance conversion step. In current ggpicrust2, kegg_abundance <- ko2kegg_abundance(
file = "pred_metagenome_unstrat.tsv",
filter_for_prokaryotes = TRUE
)
daa_results_df <- pathway_daa(
abundance = kegg_abundance,
metadata = metadata,
group = "your_group_column",
daa_method = "LinDA"
)
daa_annotated_results_df <- pathway_annotation(
pathway = "KEGG",
daa_results_df = daa_results_df,
ko_to_kegg = FALSE
)That filter removes KEGG BRITE/non-pathway buckets and pathway classes that are not appropriate for prokaryotic analyses, including organismal systems and most human disease categories such as cancer, immune disease, nervous system, endocrine system, and endocrine/metabolic disease pathways. It intentionally keeps pathways that can still be relevant for microbial studies, such as bacterial infection and antimicrobial resistance pathways. If you specifically need the richer KEGG API annotation columns such as daa_annotated_results_df <- pathway_annotation(
pathway = "KO",
daa_results_df = daa_results_df,
ko_to_kegg = TRUE,
organism = NULL
)I would not use Short version: use |
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to run species-specific KEGG pathway annotation on all bacteria, excluding human specific annotations?
Generic KO to KEGG pathway annotation (not specific to any organism)
daa_annotated_results_df <- pathway_annotation(pathway = "KO", daa_results_df = daa_results_df, ko_to_kegg = TRUE)
All reactions