doi:10.1126/science.aau1043>), phased chromosomes are simulated for all pedigree members. Applications include calculation of realised relatedness coefficients and IBD segment distributions. 'ibdsim2' is part of the 'pedsuite' collection of packages for pedigree analysis. A detailed presentation of the 'pedsuite', 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 <https://magnusdv.shinyapps.io/ibdsim2-shiny/>.">

ibdsim2: Simulation of Chromosomal Regions Shared by Family Members (original) (raw)

Simulation of segments shared identical-by-descent (IBD) by pedigree members. Using sex specific recombination rates along the human genome (Halldorsson et al. (2019) <doi:10.1126/science.aau1043>), phased chromosomes are simulated for all pedigree members. Applications include calculation of realised relatedness coefficients and IBD segment distributions. 'ibdsim2' is part of the 'pedsuite' collection of packages for pedigree analysis. A detailed presentation of the 'pedsuite', 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 <https://magnusdv.shinyapps.io/ibdsim2-shiny/>.

Version: 2.3.1
Depends: pedtools (≥ 2.8.0), R (≥ 4.2.0)
Imports: ggplot2, glue, Rcpp, ribd (≥ 1.7.1)
LinkingTo: Rcpp
Suggests: lubridate, MASS, patchwork, shiny, shinyjs, shinyWidgets, testthat, zip
Published: 2025-08-22
DOI: 10.32614/CRAN.package.ibdsim2
Author: Magnus Dehli VigelandORCID iD [aut, cre]
Maintainer: Magnus Dehli Vigeland <m.d.vigeland at medisin.uio.no>
License: GPL-3
URL: https://github.com/magnusdv/ibdsim2,https://magnusdv.github.io/pedsuite/,https://magnusdv.shinyapps.io/ibdsim2-shiny/
NeedsCompilation: yes
Language: en-GB
Citation: ibdsim2 citation info
Materials: README, NEWS
CRAN checks: ibdsim2 results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=ibdsim2to link to this page.