Plot a tree with a discrete character data matrix at the tips
Function plots a phylogeny next to a matrix of discrete character data.
plotTree.datamatrix(tree, X, ...)
tree |
an object of class |
X |
a data frame with columns as factors. |
... |
optional arguments. |
Invisibly returns a list containing the font size, a list of the colors used for each column of the plotted data matrix, and the x-coordinate of the rightmost edge of the matrix.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.