R Observatory
Search

ibdsegments

1.0.1CRAN

Identity by Descent Probability in Pedigrees

install.packages("ibdsegments")
CRAN 30-day downloads, method
172−29.5% down on the 30 days before, the worse direction
Test coverage, method
62%of lines run by tests

Identity by Descent (IBD) distributions in pedigrees. A Hidden Markov Model is used to compute identity coefficients, simulate IBD segments and to derive the distribution of total IBD sharing and segment count across chromosomes.

Full description

Identity by Descent (IBD) distributions in pedigrees. A Hidden Markov Model is used to compute identity coefficients, simulate IBD segments and to derive the distribution of total IBD sharing and segment count across chromosomes. The methods are applied in Kruijver (2025) <doi:10.3390/genes16050492>. The probability that the total IBD sharing is zero can be computed using the method of Donnelly (1983) <doi:10.1016/0040-5809(83)90004-7>.

Maintainer
Maarten Kruijver
Licence
GPL (>= 2)
Latest release
2 May 2025
First release
2 May 2025

Compare with another package

More details
Releases
1
Needs compilation
Yes
Config/testthat/edition
3
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("ibdsegments")
APA
Kruijver, M. (2025). ibdsegments: Identity by Descent Probability in Pedigrees (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.ibdsegments
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for ibdsegments version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.0.1
    Time taken
    144 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.0.1
    Time taken
    107 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.0.1
    Time taken
    119 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.0.1
    Time taken
    102 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.0.1
    Time taken
    242 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.0.1
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.0.1
    Time taken
    105 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.0.1
    Time taken
    208 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.0.1
    Time taken
    138 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.0.1
    Time taken
    136 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.0.1
    Time taken
    27 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.0.1
    Time taken
    106 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.0.1
    Time taken
    174 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
22 Apr 2026OK14000
18 Apr 2026Error13001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
180−35.7% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

24,615 of 26,530

CRAN

172 downloads in the last 30 days

Rank
24,615 of 26,530
Change
−29.5% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

2 downloads in the last 30 days

Rank
14,902 of 30,526
Change
−88.2% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

6 downloads in the last 30 days

Rank
8,234 of 29,212
Change
−68.4% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
3
Dependent packages
0
Suggested by
0
Needs (3)
Installing it adds
12 packages, 4.1 MB of source
Of those, need compilation
6
Optional extras (3)
Functions
188
Public exports
16
Lines of R code
2,387
Median complexity
1
Functions (188)
Size and composition

Lines by kind (6,416)

KindLinesShare
R code2,38737%
Tests5088%
Documentation96315%
Compiled code2,55840%

Lines by language

LanguageLinesShare
R2,89545%
C++2,55840%
Rd96315%

Languages are counted from file extensions.

Files
65
R functions
101
Compiled functions
87
Object systems
S3: 14 methods
Complexity
Median
1
Mean
2.28
Highest
36
Median lines per function
3
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
101
Calls
106
Unconnected
25
Groups
6

The tests ran and coverage was measured.

Lines run by tests
61.5%
Expressions run by tests
62.8%
Test cases
18
Exports named in tests
75%
Coverage by file (19)
Coverage run
Lines counted
811
Lines the tests ran
389
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
18
Lines of tests
508
Test lines per line of code
0.21
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
70.6%
Examples run in checks
100%
Other documentation
README
Yes, 431 words
Release notes file
Yes
Help pages
17
Lines of documentation
963

No repository on record

R releases
  • On CRAN
  • Release
VersionReleasedR
1.0.1 current2 May 20254.5.0
Release notes (1.0.1)
  • Add NEWS.md file to track changes to the package
  • Reliably restore graphics::par() using on.exit for plot of total_ibd_dist
  • Improve docs for inheritance_space and inheritance_pattern
  • Consistently rename ibd_dist to total_ibd_dist
  • Add DOI links to Description