FrederickHuangLin / ANCOMBC

Differential abundance (DA) and correlation analyses for microbial absolute abundance data
https://www.nature.com/articles/s41467-020-17041-7
108 stars 29 forks source link

Different taxonomy level aggregration and extracting full taxonomic classification. #279

Open microb123 opened 3 months ago

microb123 commented 3 months ago

I tried to aggregate the taxa using the argument "tax_level" from ANCOMBC but other taxonomic levels are included. For instance, when I aggregate taxa at the "genus" level there were couples of the family included. I tried with both tse object and the phyloseq object but the issue is the same. When I tried with "aggregate_taxa" function from the microbiome r package there weren't any families included but it gave a different result.

Screenshot 2024-08-13 at 12 58 25 AM

Also, how can we extract full taxonomic classifications? I tried with tse object as suggested in #147 but it didn't work.