phylo_to_patristic_matrix: Get a patristic matrix from a 'phylo' object.

View source: R/datelife_internal.R

phylo_to_patristic_matrixR Documentation

Get a patristic matrix from a phylo object.

Description

Get a patristic matrix from a phylo object.

Usage

phylo_to_patristic_matrix(phy, test = TRUE, tol = 0.01, option = 2)

Arguments

phy

A phylo object.

test

Default to TRUE. Whether to test if phy has branch lengths and is ultrametric or not.

tol

branching time in reference above which secondary constraints will be applied to target

option

an integer (1 or 2; see details).

Value

A patristic matrix.


phylotastic/datelife documentation built on June 9, 2024, 6:50 p.m.