biocore / gneiss

compositional data analysis toolbox
https://biocore.github.io/gneiss/
BSD 3-Clause "New" or "Revised" License
55 stars 28 forks source link

Fixing sparse matching #291

Closed mortonjt closed 3 years ago

mortonjt commented 3 years ago

This fixes the issue with sparse matching with #290 . We still need to fix travis to get this in.

mortonjt commented 3 years ago

I've also updated both matching methods so that the set ops don't add any additional randomness. Turns out that set ops are inherently unstable, no random seeds can make the set ordering reproducible. So after taking intersections, these sets are converted to lists and sorted.