compute_dist_phy: Phylogenetic Distances

View source: R/generic_functions.R

compute_dist_phyR Documentation

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.

Details

This function relies on ape function dist.nodes.

Value

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


pbastide/PhylogeneticEM documentation built on Feb. 12, 2024, 1:27 a.m.