plotTree.wBars {phytools} | R Documentation |
Function plots a phylogeny in phylogram or fan style with bars at the tips representing the values for a phenotypic trait.
plotTree.wBars(tree, x, scale=1, width=NULL, type="phylogram", method="plotTree", tip.labels=FALSE, ...)
tree |
an object of class |
x |
a named vector of trait values (normally > 0). |
scale |
scaling factor for the tip bars (relative to the total tree height). |
width |
width of the tip bars. |
type |
plot type. Can be |
method |
plotting method to use. Can be |
tip.labels |
argument indicating whether or not tip labels should be plotted. Defaults to |
... |
optional arguments to be passed to codeplotTree or |
Plots a tree.
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.