This function roots a phylogenetic tree object by it's longest edge.
root_by_longest_edge(unrooted_tree)
unrooted_tree | An unrooted phylogenetic tree object. |
---|
A rooted phlogenetic tree object.
Please see this issue for more details https://github.com/joey711/phyloseq/issues/597.
Other Phylogenetic Tree Manipulators: pick_new_outgroup
,
root_phyloseq_tree