Congruify a patristic matrix array from a given phylo object.
Source: R/datelife_internal.R
patristic_matrix_array_phylo_congruify.RdCongruify 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,
rownamesandcolnamesmust be taxa.- target_tree
A
phyloobject. 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.