plot_tb_cladogram: Plot a Phylogenetic Cladogram with TB Lineage Colors

View source: R/classicTB.R

plot_tb_cladogramR Documentation

Plot a Phylogenetic Cladogram with TB Lineage Colors

Description

Visualizes a phylogenetic tree as a cladogram, coloring tips with the mycolors palette.

Usage

plot_tb_cladogram(newick_text)

Arguments

newick_text

A character string with the tree in Newick format.

Value

A ggplot object representing the phylogenetic cladogram.

Examples


tree_text <- "(L8,((L1,(L7,(L4,(L2,L3)))),(L5,((A2,(A3,A4)),(A1,(L10,(L6,L9)))))));"
plot_tb_cladogram(tree_text)


mycolorsTB documentation built on Aug. 8, 2025, 6:35 p.m.