stairs: Stairs index

View source: R/stairs.R

stairsR Documentation

Stairs index

Description

Calculates the staircase-ness measure, from the phyloTop package. The staircase-ness reflects the number of subtrees that are imbalanced, e.g. subtrees where the left child has more extant tips than the right child, or vice versa.

Usage

stairs(input_obj)

Arguments

input_obj

phylo object or ltable

Value

number of stairs

References

Norström, Melissa M., et al. "Phylotempo: a set of r scripts for assessing and visualizing temporal clustering in genealogies inferred from serially sampled viral sequences." Evolutionary Bioinformatics 8 (2012): EBO-S9738.


treestats documentation built on Sept. 14, 2024, 9:08 a.m.