# Compute IBD patterns for two full siblings...
multi_ibd_patterns(pedtools::nuclearPed(nch = 2))
# ... and the generalisation to three siblings
multi_ibd_patterns(pedtools::nuclearPed(nch = 3))
# Two full siblings at two tightly linked loci
multi_ibd_patterns(pedtools::nuclearPed(nch = 2),
recombination_rate_by_locus = 0.01)
Run the code above in your browser using DataLab