ggtree

ggtree visualizes and annotates phylogenetic trees to integrate structural and associated biological data for evolutionary and comparative analyses.


Key Features:

  • Grammar of Graphics (ggplot2 integration): Implements the ggplot2 grammar of graphics to provide programmable tree plotting and layered annotations.
  • Extensive Format Support: Parses tree file formats Newick, Nexus, NHX, Phylip, and Jplace.
  • Integration with R Packages: Accepts tree objects from phylo, multiphylo, phylo4, phylo4d, obkdata, and phyloseq.
  • Data Extraction from Analytical Software: Extracts tree-, branch-, and node-specific data from BEAST, EPA, HyPhy, PAML, PhyloDogg, pplacer, r8s, RAxML, and RevBayes outputs.
  • Advanced Visualization Operations: Supports coloring and annotation by numerical or categorical node attributes, rotating, collapsing, zooming clades, and highlighting selected clades or operational taxonomic units.
  • Two-Dimensional Tree Scaling: Draws two-dimensional trees with width scaled according to node attributes.
  • Annotation with Associated Data: Annotates trees with associated numerical matrices (e.g., heat maps), multiple sequence alignments, subplots, and silhouette images.

Scientific Applications:

  • Evolutionary biology visualization: Enables visualization and annotation of complex phylogenetic relationships for evolutionary analyses.
  • Integration of phylogenetic outputs: Facilitates integration and interpretation of outputs from software such as BEAST, RAxML, pplacer, and RevBayes for comprehensive phylogenetic analysis.

Methodology:

Implements the ggplot2 grammar of graphics for programmable visualizations and parses tree file formats (Newick, Nexus, NHX, Phylip, Jplace) and tree objects (phylo, multiphylo, phylo4, phylo4d, obkdata, phyloseq) while extracting node and branch data from BEAST, EPA, HyPhy, PAML, PhyloDogg, pplacer, r8s, RAxML, and RevBayes.

Topics

Collections

Details

License:
Artistic-2.0
Tool Type:
command-line tool, library
Operating Systems:
Linux, Windows, Mac
Programming Languages:
R
Added:
1/17/2017
Last Updated:
12/10/2018

Operations

Publications

Yu G, Smith DK, Zhu H, Guan Y, Lam TT. <scp>ggtree</scp> : an <scp>r</scp> package for visualization and annotation of phylogenetic trees with their covariates and other associated data. Methods in Ecology and Evolution. 2016;8(1):28-36. doi:10.1111/2041-210x.12628.

Funding: - University of Hong Kong: 201411159214

Documentation

Downloads

Links