View source: R/plotTree.datamatrix.R
plotTree.datamatrix | R Documentation |
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. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
dotTree
, phylo.heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.