View source: R/summarize_pairs.R
summarize_pairs | R Documentation |
Summarize extent of relatedness of intra- and inter-facility pairs by facility pair
summarize_pairs(pair_types, summary_fns = c("min"), threshs = seq(5, 20, 5))
pair_types |
the output object of the get_pair_types function |
summary_fns |
vector of summary functions for pairwise distances as character strings (default: c("min")) |
threshs |
SNV thresholds to use for pairwise distances (default: seq(5, 20, 5)) |
a summary of isolate pairs between each facility pair. leq = less than or equal to
## Not run: locs <- metadata %>% dplyr::select(isolate_id, facility) %>% tibble::deframe() pair_types <- get_pair_types(dists, locs) summarize_pairs(pair_types = pair_types) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.