Skip to contents

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.