Learn R Programming

phytools (version 0.7-70)

splitplotTree: Plots a phylogeny in two columns

Description

Function plots a tree in two columns or windows.

Usage

splitplotTree(tree, fsize=1.0, ftype="reg", lwd=2, split=NULL, new.window=FALSE)
plotTree.splits(tree, splits=NULL, file=NULL, fn=NULL, ...)

Arguments

tree

an object of class "phylo".

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.

split

relative vertical position for splitting the tree (between 0 & 1).

new.window

whether or not to plot the split tree in a new window. If FALSE then the tree will be plotted in two columns within the same plotting window.

splits

for plotTree.splits relative positions (from 0 to 1) to split the tree across pages or devices.

file

filename if saving to a PDF file is desired. Otherwise will plot to the default plotting device.

fn

function to be executed on each plotted page. For instance, might be: function() cladelabels() if clade labels are desired.

...

other arguments to be passed to plotTree.

Value

Plots a tree.

References

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

See Also

plotTree, plotSimmap