phylo_congruify: Congruify a reference tree and a target tree given as 'phylo'...

View source: R/datelife_internal.R

phylo_congruifyR Documentation

Congruify a reference tree and a target tree given as phylo objects.

Description

Congruify a reference tree and a target tree given as phylo objects.

Usage

phylo_congruify(
  reference_tree,
  target_tree,
  dating_method = "PATHd8",
  attempt_fix = TRUE
)

Arguments

reference_tree

A phylo object.

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.