R/get_frac_intra.R
get_frac_intra.Rd
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
if (FALSE) { locs <- metadata %>% dplyr::select(isolate_id, facility) %>% tibble::deframe() pair_types <- get_pair_types(dists, locs) get_frac_intra(pair_types) }