lines.phyloLayout: lines.phyloLayout

View source: R/tree.R

lines.phyloLayoutR Documentation

lines.phyloLayout

Description

Generic S3 method adapted for drawing the line segments that comprise a phylogenetic tree.

Usage

## S3 method for class 'phyloLayout'
lines(obj, col = "grey50", shade = TRUE, ...)

Arguments

obj:

an S3 object of class 'phyloLayout'

col:

if a colour vector is specified, 'lines' will apply the colors in the same order as edges in the data frame in 'obj'. If the vector is too short, it will recycle colors.

shade:

if TRUE (default), vertical edges will be coloured by the average of descendant horizonatal edges. If FALSE, vertical edges are uniformly coloured grey.

...:

additional graphical parameters to pass to 'segments' and 'draw.arc'


ArtPoon/ggfree documentation built on July 11, 2024, 11:15 a.m.