powered by
Add an outgroup species to a given phylogeny.
add_outgroup(phylo)
A phylo object
phylo
A phylogeny either as a phylo (from the ape package) or phylo4 (from the phylobase package) object.
ape
phylo4
phylobase
phylo <- ape::rcoal(10) phylo_with_outgroup <- add_outgroup(phylo)
Run the code above in your browser using DataLab