Simulation of Chromosomal Regions Shared by Family Members

Simulation of segments shared identical-by-descent (IBD) by pedigree members. Using sex specific recombination rates along the human genome (Halldorsson et al. (2019) ), phased chromosomes are simulated for all pedigree members. Applications include calculation of realised relatedness coefficients and IBD segment distributions. 'ibdsim2' is part of the 'ped suite' collection of packages for pedigree analysis. A detailed presentation of the 'ped suite', including a separate chapter on 'ibdsim2', is available in the book 'Pedigree analysis in R' (Vigeland, 2021, ISBN:9780128244302). A 'shiny' app for visualising and comparing IBD distributions is available at <>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.4.0 by Magnus Dehli Vigeland, 3 months ago,,

Browse source code at

Authors: Magnus Dehli Vigeland [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports ggplot2, glue, Rcpp, ribd

Depends on pedtools

Suggests testthat

Linking to Rcpp

Imported by pedsuite.

See at CRAN