apTreeshape (version 1.4-5)

plot.treeshape: Plot phylogenetic treeshapes.

Description

Plot method for objects of class "treeshape".

Usage

# S3 method for treeshape
plot(x, y, …)

Arguments

x

An object of class "treeshape".

y

An object of class "treeshape".

...

Further arguments to be passed to plot().

Value

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

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.

See Also

plot for the basic plotting function in R

Examples

Run this code
# NOT RUN {
## 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"))
# }

Run the code above in your browser using DataLab