{
  "_id": "6a0f61f9acfb0bcc41c5c16b",
  "Type": "Package",
  "Package": "ibdsim2",
  "Title": "Simulation of Chromosomal Regions Shared by Family Members",
  "Version": "2.3.2.9000",
  "Authors@R": "person(\"Magnus Dehli\", \"Vigeland\", , \"m.d.vigeland@medisin.uio.no\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9134-4962\"))",
  "Description": "Simulation of segments shared identical-by-descent (IBD)\nby pedigree members. Using sex specific recombination rates\nalong the human genome (Halldorsson et al. (2019)\n<doi:10.1126/science.aau1043>), phased chromosomes are\nsimulated for all pedigree members. Applications include\ncalculation of realised relatedness coefficients and IBD\nsegment distributions. 'ibdsim2' is part of the 'pedsuite'\ncollection of packages for pedigree analysis. A detailed\npresentation of the 'pedsuite', including a separate chapter on\n'ibdsim2', is available in the book 'Pedigree analysis in R'\n(Vigeland, 2021, ISBN:9780128244302). A 'Shiny' app for\nvisualising and comparing IBD distributions is available at\n<https://magnusdv.shinyapps.io/ibdsim2-shiny/>.",
  "License": "GPL-3",
  "URL": "https://github.com/magnusdv/ibdsim2,\nhttps://magnusdv.github.io/pedsuite/,\nhttps://magnusdv.shinyapps.io/ibdsim2-shiny/",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Repository": "https://magnusdv.r-universe.dev",
  "Date/Publication": "2025-11-24 14:41:51 UTC",
  "RemoteUrl": "https://github.com/magnusdv/ibdsim2",
  "RemoteRef": "HEAD",
  "RemoteSha": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-21 10:43:49 UTC",
    "User": "root"
  },
  "Author": "Magnus Dehli Vigeland [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9134-4962>)",
  "Maintainer": "Magnus Dehli Vigeland <m.d.vigeland@medisin.uio.no>",
  "MD5sum": "5a92cb6ae92c1529b5e37fbcf65cd510",
  "_user": "magnusdv",
  "_type": "src",
  "_file": "ibdsim2_2.3.2.9000.tar.gz",
  "_fileid": "ab47370358cf293e60d00640e1021b0c9471587af024e78b192767f1ea1a5a38",
  "_filesize": 1631953,
  "_sha256": "ab47370358cf293e60d00640e1021b0c9471587af024e78b192767f1ea1a5a38",
  "_created": "2026-05-21T10:43:49.000Z",
  "_published": "2026-05-21T19:50:17.233Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77255747916,
      "time": 155,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133697493"
    },
    {
      "job": 77255747714,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133703993"
    },
    {
      "job": 77255747962,
      "time": 156,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133698075"
    },
    {
      "job": 77255748199,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133699110"
    },
    {
      "job": 77255748031,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133807701"
    },
    {
      "job": 77255748061,
      "time": 404,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133834234"
    },
    {
      "job": 77255747633,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133825837"
    },
    {
      "job": 77255747975,
      "time": 235,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133851153"
    },
    {
      "job": 77255747373,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133647089"
    },
    {
      "job": 77255747123,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145688143"
    },
    {
      "job": 77255747940,
      "time": 120,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133686577"
    },
    {
      "job": 77255747941,
      "time": 143,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133693905"
    },
    {
      "job": 77255747475,
      "time": 156,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133698383"
    }
  ],
  "_buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/magnusdv/ibdsim2",
  "_commit": {
    "id": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
    "author": "Magnus Dehli Vigeland <magnusdv@medisin.uio.no>",
    "committer": "Magnus Dehli Vigeland <magnusdv@medisin.uio.no>",
    "message": "Avoid error when no variation (percentages)\n",
    "time": 1763995311
  },
  "_maintainer": {
    "name": "Magnus Dehli Vigeland",
    "email": "m.d.vigeland@medisin.uio.no",
    "orcid": "0000-0002-9134-4962"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "pedtools",
      "version": ">= 2.8.0",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "ribd",
      "version": ">= 1.7.1",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinyjs",
      "role": "Suggests"
    },
    {
      "package": "shinyWidgets",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "zip",
      "role": "Suggests"
    }
  ],
  "_owner": "magnusdv",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-21",
      "n": 3
    },
    {
      "week": "2025-27",
      "n": 5
    },
    {
      "week": "2025-30",
      "n": 11
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 5
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v2.3.0",
      "date": "2025-07-22"
    },
    {
      "name": "v2.3.2",
      "date": "2025-11-23"
    }
  ],
  "_topics": [
    "identity-by-descent",
    "relatedness",
    "simulation",
    "cpp"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "magnusdv",
      "count": 363,
      "uuid": 5310284
    }
  ],
  "_userbio": {
    "uuid": 5310284,
    "type": "user",
    "name": "Magnus Dehli Vigeland",
    "description": "Statistical geneticist"
  },
  "_downloads": {
    "count": 411,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ibdsim2"
  },
  "_devurl": "https://github.com/magnusdv/ibdsim2",
  "_pkgdown": "https://magnusdv.github.io/pedsuite/",
  "_searchresults": 28,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ibdsim2.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/magnusdv/ibdsim2",
  "_realowner": "magnusdv",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2020-06-28"
    },
    {
      "version": "1.2",
      "date": "2020-07-11"
    },
    {
      "version": "1.3.0",
      "date": "2020-11-13"
    },
    {
      "version": "1.4.0",
      "date": "2021-07-24"
    },
    {
      "version": "1.5.0",
      "date": "2022-06-07"
    },
    {
      "version": "2.0.0",
      "date": "2023-08-17"
    },
    {
      "version": "2.1.0",
      "date": "2024-08-17"
    },
    {
      "version": "2.1.1",
      "date": "2024-09-08"
    },
    {
      "version": "2.2.0",
      "date": "2025-03-03"
    },
    {
      "version": "2.3.0",
      "date": "2025-07-22"
    },
    {
      "version": "2.3.1",
      "date": "2025-08-22"
    },
    {
      "version": "2.3.2",
      "date": "2025-11-23"
    }
  ],
  "_exports": [
    "convertPos",
    "customMap",
    "estimateIdentity",
    "estimateInbreeding",
    "estimateKappa",
    "estimateKinship",
    "estimateTwoLocusIdentity",
    "estimateTwoLocusInbreeding",
    "estimateTwoLocusKappa",
    "estimateTwoLocusKinship",
    "extractIds",
    "findPattern",
    "haploDraw",
    "ibdsim",
    "karyoHaploid",
    "launchApp",
    "loadMap",
    "mapLen",
    "physRange",
    "plotSegmentDistribution",
    "profileSimIBD",
    "realisedIdentity",
    "realisedInbreeding",
    "realisedKappa",
    "realisedKinship",
    "segmentStats",
    "uniformMap",
    "zeroIBD"
  ],
  "_datasets": [
    {
      "name": "legacy_decode19",
      "title": "Legacy version of the 'decode19' map",
      "object": "legacy_decode19",
      "class": [
        "genomeMap"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "convertPos",
      "title": "Conversion of genetic map positions",
      "topics": [
        "convertPos"
      ]
    },
    {
      "page": "customMap",
      "title": "Custom recombination map",
      "topics": [
        "customMap"
      ]
    },
    {
      "page": "estimateCoeffs",
      "title": "Estimation of one- and two-locus relatedness coefficients",
      "topics": [
        "estimateCoeffs",
        "estimateIdentity",
        "estimateInbreeding",
        "estimateKappa",
        "estimateKinship",
        "estimateTwoLocusIdentity",
        "estimateTwoLocusInbreeding",
        "estimateTwoLocusKappa",
        "estimateTwoLocusKinship"
      ]
    },
    {
      "page": "extractIds",
      "title": "Extract ID labels from simulation output",
      "topics": [
        "extractIds"
      ]
    },
    {
      "page": "findPattern",
      "title": "Find specific IBD patterns",
      "topics": [
        "findPattern"
      ]
    },
    {
      "page": "haploDraw",
      "title": "Draw haplotypes onto a pedigree plot",
      "topics": [
        "haploDraw"
      ]
    },
    {
      "page": "ibdsim",
      "title": "IBD simulation",
      "topics": [
        "ibdsim"
      ]
    },
    {
      "page": "karyoDiploid",
      "title": "Diploid karyogram",
      "topics": [
        "karyoDiploid"
      ]
    },
    {
      "page": "karyogram2",
      "title": "Karyogram plots",
      "topics": [
        "karyogram2"
      ]
    },
    {
      "page": "karyoHaploid",
      "title": "Haploid karyogram",
      "topics": [
        "karyoHaploid"
      ]
    },
    {
      "page": "launchApp",
      "title": "Launch the ibdsim2 app",
      "topics": [
        "launchApp"
      ]
    },
    {
      "page": "legacy_decode19",
      "title": "Legacy version of the 'decode19' map",
      "topics": [
        "legacy_decode19"
      ]
    },
    {
      "page": "loadMap",
      "title": "Load a built-in genetic map",
      "topics": [
        "loadMap"
      ]
    },
    {
      "page": "maplengths",
      "title": "Physical and genetic map lengths",
      "topics": [
        "mapLen",
        "mapLen.chromMap",
        "mapLen.genomeMap",
        "maplengths",
        "physRange",
        "physRange.chromMap",
        "physRange.genomeMap"
      ]
    },
    {
      "page": "plotSegmentDistribution",
      "title": "Scatter plots of IBD segment distributions",
      "topics": [
        "plotSegmentDistribution"
      ]
    },
    {
      "page": "profileSimIBD",
      "title": "Simulate markers conditional on a given IBD pattern",
      "topics": [
        "profileSimIBD"
      ]
    },
    {
      "page": "realised",
      "title": "Realised relatedness",
      "topics": [
        "realised",
        "realisedIdentity",
        "realisedInbreeding",
        "realisedKappa",
        "realisedKinship"
      ]
    },
    {
      "page": "segmentStats",
      "title": "Summary statistics for identified segments",
      "topics": [
        "segmentStats"
      ]
    },
    {
      "page": "uniformMap",
      "title": "Uniform recombination maps",
      "topics": [
        "uniformMap"
      ]
    },
    {
      "page": "zeroIBD",
      "title": "Probability of zero IBD",
      "topics": [
        "zeroIBD"
      ]
    }
  ],
  "_pkglogo": "https://github.com/magnusdv/ibdsim2/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/magnusdv/ibdsim2/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "evaluate",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "isoband",
    "kinship2",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lpSolve",
    "Matrix",
    "pedmut",
    "pedtools",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "ribd",
    "rlang",
    "S7",
    "scales",
    "slam",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 5.547528576459782,
  "_indexed": true,
  "_nocasepkg": "ibdsim2",
  "_universes": [
    "magnusdv"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:46:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "8aca764ec8aaf925fbe3d889c4509a0c3f1cbd1250463b6dc3938a81e09a3487",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:46:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "9c9c0bb68ab368961bc3712ab3b1612a8a2607d43075a672620029e5f0d5fcf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:46:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "495f396002ebb048904731c6c8175a234086566ad8e855c79d720893a969e005",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:46:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "571a3818e057afcd51c06a51b6c22ed636a8efa1b5c6014739d7314beb5c328c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:52:08.000Z",
      "arch": "aarch64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "24e9328c27dc3c278bfb97fed58536fc4e6f59815d6527240fbca7523519626a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:51:35.000Z",
      "arch": "x86_64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "14a3064930c8fd5d722e72b2d8644a2ba8d67365f4b7b4052c8963c3eaa4045f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:52:56.000Z",
      "arch": "aarch64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "cc5e7269ee27d62da30b72ffc6405367e1138832228862818268cfddcc2febd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:53:48.000Z",
      "arch": "x86_64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "711f39ef1921ebbfea102ddcccb3263813d340c32bbf892b0903740a310f3482",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.2.9000",
      "date": "2026-05-21T19:49:54.000Z",
      "arch": "emscripten",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "bd5ece40094febb976e8c8e816031eff29ccb699befeddc852047f5b422566e4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:45:16.000Z",
      "arch": "x86_64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "54ae0d9f64e99a62df22096701bcbfa86baf9a7b4b437c77798585a75fd67546",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:45:20.000Z",
      "arch": "x86_64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "9898fe188eb8956282cca0b3a965160a68ad4af65aa591b0fce63b159e5bca4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.3.2.9000",
      "date": "2026-05-21T10:45:20.000Z",
      "arch": "x86_64",
      "commit": "e23bcd47f4338d5fdc7abdd1718f839ee7e7fcf9",
      "fileid": "5d325dc840c88638c56393b0ba74fc41ea72601f9607351e8e9326968681b35c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/magnusdv/actions/runs/26221008135"
    }
  ]
}