ape (version 1.1-1)

dist.phylo: Pairwise Distances from a Phylogenetic Tree

Description

This function computes the pairwise distances between the pairs of tips from a phylogenetic tree using the branch lengths of the latter.

Usage

dist.phylo(phy)

Arguments

phy
an object of class "phylo".

Value

  • a numeric matrix with the names of the tips (as given by the element tip.label of the argument phy) as colnames and rownames.

See Also

read.tree to read tree files in Newick format