LebeerLab / tidytacos

Functions to manipulate and visualize microbial community data
https://lebeerlab.github.io/tidytacos/
GNU General Public License v3.0
9 stars 1 forks source link

Add unifrac as possible distance metric for ord calculation #55

Closed TheOafidian closed 2 months ago

TheOafidian commented 2 months ago

The user can either supply a rooted tree tt$tree <- user_tree

Or calculate one with tt %>% add_tree(outgroup_taxon_id="tx")

And then use that tree for unifrac distance calculation calculate_unifrac_distance(tt)

which can be called upon like other distances with add_ord(distance="unifrac")

Closes #24