iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2"))
iron <- iron[1:20,c("1", "X")]
probs <- calc_genoprob(iron, iron$gmap, error_prob=0.002)
# you generally wouldn't want to do this, but this is an illustration
map <- insert_pseudomarkers(iron$gmap, step=1)
probs_map <- interp_genoprob(probs, map)
Run the code above in your browser using DataLab