Description Usage Arguments Value Examples
Once a tip has been added to the tree, print the newick-formatted subtree to which the tip was added.
| 1 | echo_subtree(tree, mrca_list, tip)
 | 
| tree | Tree to which the tip will be added; object of type phylo | 
| mrca_list | Vector of taxa. The added tip will subtend the MRCA of these taxa | 
| tip | Taxon which will be added to the tree. | 
tree subtree to which tip was added
| 1 2 3 | mrca_list <- c("Ursus_arctos", "Ursus_spelaeus", "Ursus_americanus")
tree <- text_placr(tree, mrca_df)
echo_sub <- echo_subtree(tree, mrca_list, "Ursus_abstrusus")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.