mia
mia copied to clipboard
Optimize mapTaxonomy
Currently mapTaxonomy
is slow for longer taxa vectors.
This seems be because it maps every entry along taxa vector separately, instead of mapping unique entries and then mapping back to original input.
This could be considerably optimized in terms of speed by using this trick.
Could also check at the same go if there are other similar issues in other methods..