powered by
Function plots one or multiple round phylograms.
roundPhylogram(tree, fsize=1.0, ftype="reg", lwd=2, mar=NULL, offset=NULL, direction="rightwards", type="phylogram", xlim=NULL, ylim=NULL, ...)
Plots a tree.
an object of class "phylo" or "multiPhylo" containing one or multiple phylogenies.
relative font size for tip labels.
font type - options are "reg", "i" (italics), "b" (bold), or "bi" (bold-italics).
"reg"
"i"
"b"
"bi"
line width for plotting.
vector containing the margins for the plot to be passed to par. If not specified, the default margins are [0.1,0.1,0.1,0.1].
par
offset for the tip labels.
plotting direction. Only the option direction="rightwards" is presently supported.
direction="rightwards"
plot type. Can be "phylogram" or "cladogram". If type="cladogram" then the branch lengths are not necessary (and, indeed, are not used).
"phylogram"
"cladogram"
type="cladogram"
x-limits for the plot.
y-limits for the plot.
optional arguments.
Liam Revell liam.revell@umb.edu
The underscore character "_" is automatically swapped for a space in tip labels, as in plotSimmap.
"_"
plotSimmap
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
plotSimmap, plotTree
plotTree
data(mammal.tree) roundPhylogram(compute.brlen(mammal.tree), fsize=0.8,ftype="i") par(mar=c(5.1,4.1,4.1,2.1)) ## reset margin to default
Run the code above in your browser using DataLab