microbiome / mia

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

remove_empty_ranks in agglomerateByRanks #568

Closed TuomasBorman closed 3 weeks ago

TuomasBorman commented 4 weeks ago

If remove_empty_ranks = TRUE, those columns that have only NA values are removed. This includes also those columns that are not ranks. As this function is related to taxonomy and agglomeration, I think it should only remove rank columns. --> Modify so that only rank columns with only NAs are removed.