plot.TreeStructure: Plot TreeStructure tree with cluster and partition variables

View source: R/m13.R

plot.TreeStructureR Documentation

Plot TreeStructure tree with cluster and partition variables

Description

Plot TreeStructure tree with cluster and partition variables

Usage

## S3 method for class 'TreeStructure'
plot(x, use_ggtree = TRUE, ...)

Arguments

x

A TreeStructure object

use_ggtree

Toggle ggtree or ape plotting behaviour

...

Additional arguments passed to ggtree or ape::plot.phylo

Examples


tree <- ape::read.tree( system.file('sim.nwk', package = 'treestructure') )

(struc <- trestruct( tree ))

#plot treestructure object

plot(struc)

emvolz-phylodynamics/treestructure documentation built on June 11, 2025, 11:04 a.m.