plot_node_value: Plot node value Plot a tree with node values on each internal...

View source: R/plot_node_value.R

plot_node_valueR Documentation

Plot node value Plot a tree with node values on each internal node.

Description

Plot node value Plot a tree with node values on each internal node.

Usage

plot_node_value(
  main_tree,
  node_lab,
  n_trees,
  rooted = TRUE,
  lab_size = 2,
  supp_size = 2,
  xlim_max = 0.5
)

Arguments

main_tree

A tree to check support for.

node_lab

A list of node values for each internal node of main_tree.

n_trees

The number of trees used to compute node_lab.

rooted

A boolean, TRUE if the main tree is rooted

lab_size

The size of the tip labels, default is 2.

supp_size

The size of the support labels, default is 2.

xlim_max

The length of the x axis.

Value

A ggtree object.


svteichman/TreeVizPackage documentation built on June 22, 2022, 11:21 p.m.