Description Usage Arguments Value Examples
View source: R/calc_profile_lods.R
Add physical map contents to tibble
1 | add_pmap(tib, pmap)
|
tib |
a tibble with 3 columns: marker, trace, and profile lod values, typically outputted by calc_profile_lods() |
pmap |
a physical map for a single chromosome |
a tibble with 4 columns: marker, trait, profile_lod, marker_position
1 2 3 4 5 6 7 | pm <- 1:3
names(pm) <- as.character(paste0('m', 1:3))
expand.grid(paste0('m', 1:3), paste0('m', 1:3)) %>%
tibble::as_tibble() %>%
dplyr::mutate(log10lik = rgamma(9, 5)) %>%
calc_profile_lods() %>%
add_pmap(pm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.