Skip to contents

Usage

patristic_matrix_pad(patristic_matrix, all_taxa)

Arguments

patristic_matrix

A patristic matrix, rownames and colnames must be taxa.

all_taxa

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

Value

A patristic matrix, with NA for entries between taxa where at least one was not in the original patristic matrix.