Learn R Programming

PhylogeneticEM (version 1.0.0)

compute_dist_phy: Phylogenetic Distances

Description

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

Usage

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

Tis function relies on ape function dist.nodes.