plot_tree: A internal function used for the plotting of trees

Description Usage Arguments Value Examples

Description

A internal function used for the plotting of trees

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plot_tree(
  tree,
  HI = NULL,
  color_by = NULL,
  linewidth = 1,
  pointsize = 1,
  textsize = 2.5,
  labeller_function = NULL,
  keep_conf_label = FALSE,
  subset = NULL
)

Arguments

tree

object of class phylo to plot.

HI

(optional) HI of the tree (unused).

color_by

(optional) lookup table with color labels (NULL).

linewidth

(optional) numeric value defining linewidth of tree edges (1).

pointsize

(optional) numeric value defining point size of tree tips (1).

textsize

(optional) numeric value defining linewidth of tree edges (2.5).

labeller_function

(optional) HI of the tree (unused).

keep_conf_label

(optional) Flat indicating if ‘confidence label’ should be keeped (default: FALSE).

subset

(optional) character vector defining a subset of samples to plot.

Value

ggplot object

Examples

1
plot_tree(ape::rtree(5))

T-Heide/MLLLP documentation built on Dec. 18, 2021, 3:09 p.m.