phylo_get_subset_array: Get a subset array from a 'phylo' object

View source: R/datelife_internal.R

phylo_get_subset_arrayR Documentation

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"
)

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.

Value

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


phylotastic/datelife documentation built on June 9, 2024, 6:50 p.m.