Taxonomic Hierarchy Distances and Lineage Analysis
Computes distances between taxonomic hierarchy nodes using lineage
data retrieved from The Taxonomicon < http://taxonomicon.taxonomy.nl>, the
Open Tree of Life reference taxonomy (Rees and Cranston, 2017)
, or the NCBI Taxonomy (Schoch et al., 2020)
. For distinct nodes, distance is defined as
the reciprocal of the depth of their most recent common ancestor; identical
nodes have distance zero. This definition yields an ultrametric within each
connected hierarchy. Path length, Wu-Palmer, and rank-based distances are
also available, together with the taxonomic diversity and distinctness
indices of Clarke and Warwick (1998)
and their randomization test, the taxonomic dissimilarities between samples
of Clarke, Somerfield and Chapman (2006) ,
and standardized effect sizes of mean pairwise and nearest-taxon distances
(Webb et al., 2002) .
Functions are provided for auditable name resolution, comparison of
classifications, online or user-supplied lineage analysis, node ranks,
clade membership, pairwise, matrix, and cross-set distance calculation,
classification trees with named clades, hierarchical clustering, principal
coordinates analysis, portable and comparable JSON analysis bundles, and
cache management. Distance matrices are returned as base R 'dist' objects.
The distances represent classification depth rather than evolutionary time
or phylogenetic branch length.