Closed TheOafidian closed 2 months ago
The user can either supply a rooted tree tt$tree <- user_tree
tt$tree <- user_tree
Or calculate one with tt %>% add_tree(outgroup_taxon_id="tx")
tt %>% add_tree(outgroup_taxon_id="tx")
And then use that tree for unifrac distance calculation calculate_unifrac_distance(tt)
calculate_unifrac_distance(tt)
which can be called upon like other distances with add_ord(distance="unifrac")
add_ord(distance="unifrac")
Closes #24
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