.prune_tree | R Documentation |
Removes species from a phylogenetic tree that are not present in the current data subset during leave-one-out analysis.
.prune_tree(tree, species_names)
tree |
A phylogenetic tree object of class "phylo". |
species_names |
A vector of species names that should remain in the pruned tree. These are the species present in the current data subset. |
A pruned phylogenetic tree containing only the tips for species in species_names.
Daniel Noble - daniel.noble@anu.edu.au
Facundo Decunta - fdecunta@agro.uba.ar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.