tree_labels: Add tip and node labels to a plotted tree. These functions...

Description Usage Arguments

Description

Add tip and node labels to a plotted tree. These functions do not do anything except for specify which type of labels might be added – they need to be added to the tree with the addition operator.

Usage

1
2
3
4
5
6
tree_labels(type, offset = unit(0.5, "lines"), rot = 0, name = NULL,
  gp = gpar())

tree_tip_labels(...)

tree_node_labels(...)

Arguments

type

Either tips or nodes (or an abbreviation of either).

offset

A unit object describing offset in the time axis (positive is forward in time away from the tip/node).

rot

Rotation, relative to the time axis.

name

Name of the tip labels grob

gp

Graphical parameters (a gpar object) for the labels.

...

Arguments passed through to tree_labels.


richfitz/forest documentation built on May 27, 2019, 8:17 a.m.