plot_tree_df: Plot a tree in data frame format

View source: R/plot_fns.R

plot_tree_dfR Documentation

Plot a tree in data frame format

Description

This function plots a tree in data frame format.

Usage

plot_tree_df(
  tree_df,
  mutations,
  tree_label = NULL,
  main_node_color = "paleturquoise3",
  next_node_color = "thistle"
)

Arguments

tree_df

A tree in data frame format.

mutations

A list of mutation names corresponding to the mutation IDs.

tree_label

The title of the tree (Default: NULL).

main_node_color

The color of the nodes in the main tree structure (Default: pale turquoise).

next_node_color

The color of the nodes in the augmented tree structure (Default: thistle).

Author(s)

Xiang Ge Luo


cbg-ethz/TreeMHN documentation built on Jan. 29, 2024, 1:29 p.m.