News of ggtree
A new version of ggtree that works with ggplot2 (version >= 2.0.0) is now availabel.
Some functions, add_legend, hilight, annotation_clade and annotation_clade2 were removed. Instead we provide layer functions,
geom_cladelabel. You can use
+ operator to add layers using these layer functions.
In addtion, we provide
geom_segment2 which works exactly as
geom_segment except they allow ggtree users to do subsetting.
Most of the phylogenetic trees are scaled by evolutionary distance (substitution/site), in
ggtree we can re-scale a phylogenetic tree by any numerical variable inferred by evolutionary analysis. For example using substitution rate to scale a time-scaled tree inferred by BEAST, or using dN/dS to re-scale a tree analyzed by CodeML.
New Hampshire eXtended format (NHX) supported
This is a feature request from
ggtree user. The NHX format is also commonly used in phylogenetic software (e.g. PHYLODOG, RevBayes, etc).
!(http://guangchuangyu.github.io/blog_images/Bioconductor/ggtree/Screenshot 2015-12-30 14.25.45.png)
The original vignette was too long and I split them into several short ones. These vignettes should be more easy to follow. You can access the vignette via http://guangchuangyu.github.io/ggtree/. More examples and detail explanation were provided. If there are something that I didn’t explain well or if you have suggestions for changes or improvements, submit an issue, or (even better) fork ggtree, make modifications and submit a pull request.
I appreciate your help in improving
- Repo: https://github.com/GuangchuangYu/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.