Learn R Programming

datelife (version 0.6.8)

phylo_get_subset_array: Get a subset array from a phylo object

Description

Get a subset array from a phylo object

Usage

phylo_get_subset_array(
  reference_tree,
  taxa,
  phy4 = NULL,
  dating_method = "PATHd8"
)

Value

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

Arguments

reference_tree

A phylo object.

taxa

Vector of taxon names to get a subset for.

phy4

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

dating_method

The method used for tree dating.