R: Common Ancestors Times

compute_times_ca {PhylogeneticEM} | R Documentation

## Common Ancestors Times

### Description

`compute_times_ca` computes the times t_ij between the root and the common ancestor of two tips i, j.

### Usage

    compute_times_ca(phy)

### Arguments

`phy` | a phylogenetic tree of class `phylo`.

### Details

Tis function relies on `ape` functions `node.depth.edgelength` and `mrca`.

### Value

a matrix of times of shared evolutions, ordered as the tips of the tree. The matrix is of type `symmetricMatrix-class`.

[Package PhylogeneticEM version 1.1.0 Index]