plot_tree | R Documentation |
Plot a phylogenetic tree
plot_tree(tree, orient = "h")
tree |
A phylgenetic tee object of class "phylo" |
orient |
A string for the orientation of the tree: "v" (vertical) or "h" (horizontal) |
This function plots a phylogenetic tree from an object of class "phylo", as produced, for example, by the Canopy package.
a ggtree object
Davis McCarthy and Yuanhua Huang
This function makes use of the ggtree
package:
Guangchuang Yu, David Smith, Huachen Zhu, Yi Guan, Tommy Tsan-Yuk Lam. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. Methods in Ecology and Evolution 2017, 8(1):28-36, doi:10.1111/2041-210X.12628
data(example_donor) plot_tree(tree, orient = "v")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.