splitplotTree: Plots a phylogeny in two columns

View source: R/splitplotTree.R

splitplotTreeR Documentation

Plots a phylogeny in two columns

Description

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.

Author(s)

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

plotTree, plotSimmap


phytools documentation built on June 22, 2024, 10:39 a.m.