plot.treeshape {apTreeshape}R Documentation

Plot phylogenetic treeshapes.

Description

Plot method for objects of class "treeshape".

Usage

## S3 method for class 'treeshape'
plot(x, y, ...)

Arguments

x

An object of class "treeshape".

y

An object of class "treeshape".

...

Further arguments to be passed to plot().

Details

If two trees are specified, they are plotted on the same window. This option is provided is order to facilitate the comparison between two trees.

Value

A null value is returned. Results are displayed on graphical window.

Author(s)

Michael Blum <michael.blum@imag.fr>
Nicolas Bortolussi <nicolas.bortolussi@imag.fr>
Eric Durand <eric.durand@imag.fr>
Olivier Francois <olivier.francois@imag.fr>

See Also

plot for the basic plotting function in R

Examples


## Visual representation of the universal tree of life provided in data
data(universal.treeshape)
plot(universal.treeshape)

## Visual representation of two trees at the same time
data(carnivora.treeshape)
plot(carnivora.treeshape, cutreeshape(carnivora.treeshape, 8, "bottom"))

[Package apTreeshape version 1.5-0.1 Index]