microbiome / mia

Microbiome analysis
https://microbiome.github.io/mia/
Artistic License 2.0
50 stars 27 forks source link

Update tree agglomeration #656

Closed TuomasBorman closed 2 weeks ago

TuomasBorman commented 2 weeks ago

1. Add tree agglomeration to subsetByPrevalent() and subsetByRare(). Fixes this issue: https://github.com/microbiome/mia/issues/198

2. Update the tree agglomeration; we used own implementation in agglomerateBy*() functions but now we utilize TreeSummarizedExperiment::subsetByLeaf(). Own implementation is still used in functions that handle matrix and tree, not TreeSE object.