if (FALSE) {
# load DO data from Recla et al. (2014) Mamm Genome 25:211-222.
recla <- read_cross2("https://raw.githubusercontent.com/rqtl/qtl2data/main/DO_Recla/recla.zip")
# grab founder genotypes and physical map
fg <- recla$founder_geno
pmap <- recla$pmap
# find shared segments
(segs <- find_ibd_segments(fg, pmap, min_lod=10, error_prob=0.0001))
}
Run the code above in your browser using DataLab