---
output:
md_document:
variant: gfm
html_preview: false
---
# ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data
```{r echo=FALSE, results="hide", message=FALSE}
#library("txtplot")
library("badger")
library("ypages")
Biocpkg <- function (pkg) {
sprintf("[%s](http://bioconductor.org/packages/%s)", pkg, pkg)
}
```
`r badge_bioc_release("ggtree", "green")`
`r badge_devel("guangchuangyu/ggtree", "green")`
[](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#since)
[](https://awesome-r.com/#awesome-r-graphic-displays)
[](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#archives)
[](http://www.repostatus.org/#active)
[](https://codecov.io/gh/GuangchuangYu/ggtree)
[)`-green.svg)](https://github.com/GuangchuangYu/ggtree/commits/master)
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 on the tree.
For details, please visit our project website, .
+ [Documentation](https://guangchuangyu.github.io/software/ggtree/documentation/)
+ [FAQ](https://guangchuangyu.github.io/software/ggtree/faq/)
+ [Featured Articles](https://guangchuangyu.github.io/software/ggtree/featuredArticles/)
+ [Feedback](https://guangchuangyu.github.io/software/ggtree/#feedback)
[](https://twitter.com/intent/tweet?hashtags=ggtree&url=http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12628/abstract&screen_name=guangchuangyu)
[](https://saythanks.io/to/GuangchuangYu)
`r badger::badge_custom('follow me on', '微信', 'green', 'https://guangchuangyu.github.io/blog_images/biobabble.jpg')`
`r badger::badge_custom('打赏', '支付宝/微信', 'green', 'https://guangchuangyu.github.io/blog_images/pay_qrcode.png')`
-----------------------------------------------------
If you use `r Biocpkg('ggtree')` in published research, please cite the most appropriate paper(s) from this list:
1. __G Yu__, DK Smith, H Zhu, Y Guan, TTY 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](https://doi.org/10.1111/2041-210X.12628).
2. __G Yu__^\*^, TTY Lam, H Zhu, Y Guan^\*^. Two methods for mapping and visualizing associated data on phylogeny using ggtree. __*Molecular Biology and Evolution*__, 2018, 35(2):3041-3043.
doi: [10.1093/molbev/msy194](https://doi.org/10.1093/molbev/msy194).
----------------------------------------------------------------------------------------
## Authors
Guangchuang YU
School of Basic Medical Sciences, Southern Medical University
### Citation
### Download stats
`r badge_download_bioc("ggtree")`
`r badge_bioc_download("ggtree", "total", "blue")`
`r badge_bioc_download("ggtree", "month", "blue")`
## Contributing
We welcome any contributions! By participating in this project you agree to
abide by the terms outlined in the [Contributor Code of Conduct](CONDUCT.md).