Learn R Programming

phytools (version 1.2-0)

plotTree: Plots rooted phylogenetic tree

Description

This function plots a rooted phylogram. Arguments in ... are passed to plotSimmap, with the exception of optional argument color which is used to determine the plotted color of the branch lengths of the tree.

Usage

plotTree(tree, ...)

Value

This function plots a rooted phylogram.

Arguments

tree

a phylogenetic tree in "phylo" format; or multiple trees as an object of class "multiPhylo".

...

optional arguments.

Author

Liam Revell liam.revell@umb.edu

References

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

See Also

plot.phylo, plotSimmap

Examples

Run this code
data(vertebrate.tree)
plotTree(vertebrate.tree,fsize=1.2,ftype="i")
## reset margins
par(mar=c(5.1,4.1,4.1,2.1))

Run the code above in your browser using DataLab