microbiome / mia

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

agglomerateByRank fix: empty ranks #493

Closed TuomasBorman closed 4 months ago

TuomasBorman commented 4 months ago

agglomerateByRanks was failing if no taxonomy info was found for rows. For example, if the intention was to agglomerate data to kingdom level and all the values in kingdom level were NA. --> Now the function returns 1 row named "NA".