text.phyloLayout: text.phyloLayout

View source: R/tree.R

text.phyloLayoutR Documentation

text.phyloLayout

Description

Draw tip and/or internal node labels on the phylogenetic tree.

Usage

## S3 method for class 'phyloLayout'
text(obj, label = "t", align = FALSE, cex.lab = 1, offset = 0, ...)

Arguments

obj:

an S3 object of class 'phyloLayout'

label:

Specifies which set of nodes are labeled with text.

  • 't'Tip labels only (default).

  • 'i'Internal node labels only.

  • 'b'Both tip and internal node labels.

align:

if TRUE, all tip labels are drawn at maximum value

cex.lab:

character expansion factor for text

offset:

float, additional spacing between tree tip and label; defaults to 0.

...:

additional graphical parameters passed to 'text'


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