Learn R Programming

phytools (version 0.7-20)

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 {
tree<-pbtree(n=25)
plotTree(tree,color="blue",ftype="i")
# }

Run the code above in your browser using DataLab