ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data
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.
Please cite the following article when using ggtree
:
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.
For details, please visit our project website, https://guangchuangyu.github.io/ggtree.
+-+---------+---------+---------+---------+--------+---+
| |
| |
1.2 + +
| |
| |
1 + * * +
| |
| |
| |
0.8 + +
| |
| |
0.6 +-+---------+---------+---------+---------+--------+---+
2016 2016.2 2016.4 2016.6 2016.8 2017
++---------------------+---------------------+---------------------+---------------------+----+
| * |
| |
| * |
| * |
1500 + +
| |
| |
| * |
| * * * |
| * * |
1000 + * +
| |
| * * |
| * * |
| * * |
| |
500 + * +
| * * |
| * |
| * |
| |
0 + * * * +
++---------------------+---------------------+---------------------+---------------------+----+
2015 2015.5 2016 2016.5 2017