View source: R/get_frac_intra.R
get_frac_intra | R Documentation |
Get fraction of intra-facility pairs for different SNV thresholds
get_frac_intra(pair_types)
pair_types |
the output object of the get_pair_types function |
fraction of intra-facility pairs for each SNV distance in dataset
## Not run: locs <- metadata %>% dplyr::select(isolate_id, facility) %>% tibble::deframe() pair_types <- get_pair_types(dists, locs) get_frac_intra(pair_types) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.