powered by
Once a tip has been added to the tree, print the newick-formatted subtree to which the tip was added.
echo_subtree(tree, mrca_list, tip)
Tree to which the tip will be added; object of type phylo
Vector of taxa. The added tip will subtend the MRCA of these taxa
Taxon which will be added to the tree.
tree subtree to which tip was added
# NOT RUN { mrca_list <- c("Ursus_arctos", "Ursus_spelaeus", "Ursus_americanus") tree <- text_placr(tree, mrca_df) echo_sub <- echo_subtree(tree, mrca_list, "Ursus_abstrusus") # }
Run the code above in your browser using DataLab