powered by
compute_times_ca computes the times t_ij between the root and the comon ancestor of two tips i, j.
compute_times_ca
compute_times_ca(phy)
a phylogenetic tree of class phylo.
phylo
a matrix of times of shared evolutions, ordered as the tips of the tree. The matrix is of type symmetricMatrix-class.
symmetricMatrix-class
Tis function relies on ape functions node.depth.edgelength and mrca.
ape
node.depth.edgelength
mrca