iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2"))
iron <- iron[,"8"]
gmap <- insert_pseudomarkers(iron$gmap, step=1)
pr <- calc_genoprob(iron, gmap, error_prob=0.002)
pr_sub <- pull_genoprobint(pr, gmap, "8", c(25, 35))
Run the code above in your browser using DataLab