aphylo-methods {aphylo}R Documentation

Plot and print methods for aphylo objects

Description

Plot and print methods for aphylo objects

Usage

## S3 method for class 'aphylo'
plot(
  x,
  y = NULL,
  prop = 0.15,
  node.type.col = c(dupl = "black", other = "gray"),
  node.type.size = c(dupl = 0, other = 0),
  rect.args = list(),
  as_ci = NULL,
  ...
)

Arguments

x

An object of class aphylo.

y

Ignored.

prop

Numeric scalar between 0 and 1. Proportion of the device that the annotations use in plot.aphylo.

node.type.col, node.type.size

Vectors of length 2. In the case of node.type.col the color of the duplication and other nodes. node.type.size sets the size of circles.

rect.args

List of arguments passed to graphics::rect.

as_ci

Integer vector. Internal use only.

...

Further arguments passed to ape::plot.phylo.

Details

The plot.aphylo function is a wrapper of ape::plot.phylo.

Value

In the case of plot.aphylo, NULL.

See Also

Other aphylo methods: aphylo-class

Examples

set.seed(7172)
atree <- raphylo(20)
plot(atree)

[Package aphylo version 0.3-3 Index]