phylo.heatmap: Creates a phylogenetic heat map

Description Usage Arguments Value Author(s) References


Functions creates a multivariate phylogenetic heatmap.


phylo.heatmap(tree, X, fsize=1, colors=NULL, standardize=FALSE, ...)



an object of class "phylo".


a matrix containing data for multiple continuous characters in which rownames correspond to the tip labels of the tree.


an integer or vector of length 3 containing the font size for the tip labels, the trait labels, and the legend text. (If a single integer is supplied, then the value will be recycled.)


a vector of colors to be passed to image. Can be a function call (e.g., heat.colors(n=200)[200:1]).


a logical value indicating whether or not to standardize each column of X to have the same variance & mean prior to analysis.


optional arguments. So far these include: legend, a logical value indicating whether or not to plot a figure legend (defaults to legend=TRUE); labels, a logical value indicating whether or not to plot trait labels (defaults to labels=TRUE); split, a numeric vector indicating the fraction of the horizontal dimension to use for the tree & heatmap, respectively (defaults to split=c(0.5,0.5)); xlim, ylim, & mar, defined as in par; and ftype, lwd, and pts as defined in plotSimmap.


Function creates a plot.


Liam Revell


Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

Search within the phytools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.