Learn R Programming

MSCquartets (version 3.1)

topDist: Topological distances on a tree

Description

Compute a pairwise table of topological distances from a tree, after contracting short edges

Usage

topDist(tree, epsilon = 0)

Value

a distance table, with rows and columns named by taxa

Arguments

tree

a phylo object, with or without edge lengths

epsilon

a tolerance, so all edges shorter than epsilon are contracted