Skip to contents

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

Usage

phylo_subset_both(
  reference_tree,
  taxa,
  phy = NULL,
  phy4 = NULL,
  dating_method = "PATHd8"
)

Arguments

reference_tree

A phylo object.

taxa

Vector of taxon names to get a subset for.

phy

A user tree to congruify as phylo object (ape).

phy4

A user tree to congruify in phylo4 format (phylobase).

dating_method

The method used for tree dating.

Value

A list with a patristic matrix array and a $problem if any.