patristic_matrix_array_subset_both: Are all desired taxa in the patristic matrix array?

View source: R/datelife_internal.R

patristic_matrix_array_subset_bothR Documentation

Are all desired taxa in the patristic matrix array?

Description

patristic_matrix_array_subset_both is used inside get_subset_array_dispatch().

Usage

patristic_matrix_array_subset_both(
  patristic_matrix_array,
  taxa,
  phy = NULL,
  phy4 = NULL,
  dating_method = "PATHd8"
)

Arguments

patristic_matrix_array

A patristic matrix array, rownames and colnames must be taxa.

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 June 9, 2024, 6:50 p.m.