patristic_matrix_array_phylo_congruify: Congruify a patristic matrix array from a given 'phylo'...

View source: R/datelife_internal.R

patristic_matrix_array_phylo_congruifyR Documentation

Congruify a patristic matrix array from a given phylo object.

Description

Congruify a patristic matrix array from a given phylo object.

Usage

patristic_matrix_array_phylo_congruify(
  patristic_matrix,
  target_tree,
  dating_method = "PATHd8",
  attempt_fix = TRUE
)

Arguments

patristic_matrix

A patristic matrix, rownames and colnames must be taxa.

target_tree

A phylo object. Use this in case you want a specific backbone for the output tree.

dating_method

The method used for tree dating.

attempt_fix

Default to TRUE. If congruification results in NA branch lengths, it will attempt to fix them.

Value

A matrix.


datelife documentation built on July 10, 2023, 2:02 a.m.