Learn R Programming

phytools (version 0.7-70)

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, ...)

Arguments

tree

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

...

optional arguments.

Value

This function plots a rooted phylogram.

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
# NOT RUN {
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