microbiome / mia

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

Tree agglomeration fix #548

Closed TuomasBorman closed 1 month ago

TuomasBorman commented 1 month ago

I noticed that tree agglomeration was not done correctly.

The previous method used drop.tip() with drop.internal option. This was problematic because of the following reason.

Now the pruning is done one tip-layer at the time to ensure that we keep all nodes that represent rows.