Skip to contents

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.