Skip to contents

Calculate genetic distances for a set of cluster assignments.

Usage

compute_genetic_distances_by_cluster(isolate_lookup, snp_dist)

Arguments

isolate_lookup

Data frame with isolate lookup information.

snp_dist

Matrix of SNP distances between isolates.

Value

Data frame with genetic distances by cluster