Learn R Programming

phytools (version 0.7-20)

roundPhylogram: Plot a round phylogram

Description

Function plots one or multiple round phylograms.

Usage

roundPhylogram(tree, fsize=1.0, ftype="reg", lwd=2, mar=NULL, offset=NULL, 
   direction="rightwards", type="phylogram", xlim=NULL, ylim=NULL, ...)

Arguments

tree

an object of class "phylo" or "multiPhylo" containing one or multiple phylogenies.

fsize

relative font size for tip labels.

ftype

font type - options are "reg", "i" (italics), "b" (bold), or "bi" (bold-italics).

lwd

line width for plotting.

mar

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].

offset

offset for the tip labels.

direction

plotting direction. Only the option direction="rightwards" is presently supported.

type

plot type. Can be "phylogram" or "cladogram". If type="cladogram" then the branch lengths are not necessary (and, indeed, are not used).

xlim

x-limits for the plot.

ylim

y-limits for the plot.

...

optional arguments.

Value

Plots a tree.

Details

The underscore character "_" is automatically swapped for a space in tip labels, as in plotSimmap.

References

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

See Also

plotSimmap, plotTree