root_imbalance: Root imbalance

View source: R/root_imbalance.R

root_imbalanceR Documentation

Root imbalance

Description

Measures the distribution of tips over the two crown lineages, e.g. n1 / (n1 + n2), where n1 is the number of tips connected to crown lineage 1 and n2 is the number of tips connected to crown lineage 2. We always take n1 > n2, thus root imbalance is always in [0.5, 1]. Root imbalance is also calculated for polytomous trees, as long as there is no polytomy at the root.

Usage

root_imbalance(phy)

Arguments

phy

phylo object or ltable

Value

Root imbalance

References

Guyer, Craig, and Joseph B. Slowinski. "Adaptive radiation and the topology of large phylogenies." Evolution 47.1 (1993): 253-263.


treestats documentation built on Aug. 24, 2026, 5:09 p.m.