Skip to contents

get_subset_array_dispatch is used inside get_datelife_result()

Usage

get_subset_array_dispatch(
  study_element,
  taxa,
  phy = NULL,
  phy4 = NULL,
  dating_method = "PATHd8"
)

Arguments

study_element

The thing being passed in: an array or a phylo object to serve as reference for congruification.

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 patristic matrix with ages for the target taxa.