aphylo-methods function

Plot and print methods for aphylo objects

Plot and print methods for aphylo objects

## 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 .

Returns

In the case of plot.aphylo, NULL.

Details

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

Examples

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

See Also

Other aphylo methods: aphylo-class

  • Maintainer: George Vega Yon
  • License: MIT + file LICENSE
  • Last published: 2024-12-03