Learn R Programming

PhylogeneticEM (version 1.8.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)

Value

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

Arguments

phy

a phylogenetic tree of class phylo.

Details

This function relies on ape function dist.nodes.