add_gpos adds the genomic position to a tibble of genomic stats.

add_gpos(tib, ...)

Arguments

tib

input tibble

...

catchall input for purrr::pmap

Details

The imported data typically comes with one column specifieing the linkage group (LG) and one specifieng the position of that LG. This function translates the postion into the genomic postion where all LGs have been concatinated (eg. LG02, POS:1 => length(LG01)+1)