The ggtree package extending the ggplot2 package. It based on grammar of graphics and takes all the good parts of ggplot2.
ggtree is designed for not only viewing phylogenetic tree but also displaying annotation data in the tree.
Guangchuang Yu and Tommy Tsan-Yuk Lam, School of Public Health, The University of Hong Kong.
Please cite the following article when using ggtree:
G Yu, D Smith, H Zhu, Y Guan, TTY Lam,
ggtree: an R package for visualization and annotation of phylogenetic tree
with different types of meta-data.
Methods in Ecology and Evolution, submitted
All source code is copyright, under the Artistic-2.0 License. For more information on Artistic-2.0 License see http://opensource.org/licenses/Artistic-2.0
To install:
- the latest released version:
biocLite("ggtree") - the latest development version:
devtools::install_github("GuangchuangYu/ggtree")
To view the vignette of ggtree installed in your system, start R and enter:
vignette("ggtree", package = "ggtree")More documents can be found in http://guangchuangyu.github.io/categories/ggtree.
- If you have any, let me know. Thx!