get_subset_array_dispatch: try two types of NJ

Description Usage Arguments Value

View source: R/datelife_internal.R

Description

Figure out which subset function to use. Used inside: get_datelife_result

Usage

1
2
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.


phylotastic/datelife documentation built on Jan. 22, 2019, 12:29 a.m.