compute_dist_phy computes the phylogenetic distances d_ij between all the tips i, j.

compute_dist_phy(phy)

Arguments

phy

a phylogenetic tree of class phylo.

Value

a matrix of phylogenetic distances, ordered as the tips of the tree. The matrix is of type symmetricMatrix-class.

Details

This function relies on ape function dist.nodes.