Collections of phylogenetic trees, such as those output by Bayesian or parsimony analysis, may occupy discrete regions of tree space such that individual clusters of trees are separated from all other trees by a certain distance. Finding such islands, and taking their consensus, can be an effective way of summarising conflicting signal in a phylogenetic dataset [@Silva2021].

# Load required libraries
library("TreeTools", quietly = TRUE)
library("TreeDist")

# Generate a set of trees
trees <- as.phylo(as.TreeNumber(BalancedTree(16)) + 0:100 - 15, 16)


ms609/TreeDist documentation built on June 30, 2024, 7:18 p.m.