patristic_matrix_pad: Function to fill in empty cells in a patristic matrix for...

Description Usage Arguments Value

View source: R/datelife_internal.R

Description

Function to fill in empty cells in a patristic matrix for missing taxa. Used in: patristic_matrix_list_to_array.

Usage

1
patristic_matrix_pad(patristic_matrix, all_taxa)

Arguments

patristic_matrix

A patristic matrix with row and column names for taxa

all_taxa

A vector of the names of all taxa you want, including ones not in the patristic matrix

Value

patristic_matrix for all_taxa, with NA for entries between taxa where at least one was not in the original patristic_matrix


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