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.


PhylogeneticEM documentation built on Aug. 31, 2022, 9:16 a.m.