R Observatory
Search
install.packages("segregatr")
CRAN 30-day downloads, method
245−16.7% down on the 30 days before, the worse direction
Test coverage, method
72%of lines run by tests

An implementation of the full-likelihood Bayes factor (FLB) for evaluating segregation evidence in clinical medical genetics. The method was introduced by Thompson et al. (2003) <doi:10.1086/378100>.

Full description

An implementation of the full-likelihood Bayes factor (FLB) for evaluating segregation evidence in clinical medical genetics. The method was introduced by Thompson et al. (2003) <doi:10.1086/378100>. This implementation supports custom penetrance values and liability classes, and allows visualisations and robustness analysis as presented in Ratajska et al. (2023) <doi:10.1002/mgg3.2107>. See also the online app 'shinyseg', <https://chrcarrizosa.shinyapps.io/shinyseg>, which offers interactive segregation analysis with many additional features (Carrizosa et al. (2024) <doi:10.1093/bioinformatics/btae201>).

Maintainer
Magnus Dehli Vigeland
Licence
GPL-3
Latest release
26 Aug 2025
First release
15 Apr 2021

Compare with another package

More details
Releases
4
Needs compilation
No
Needs R
>= 4.1.0
Language
en-GB
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("segregatr")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1002/mgg3.2107.

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 segregatr version 0.5.0 [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
    0.5.0
    Time taken
    74 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.5.0
    Time taken
    56 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.5.0
    Time taken
    72 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.5.0
    Time taken
    48 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.5.0
    Time taken
    88 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.5.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.5.0
    Time taken
    51 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.5.0
    Time taken
    90 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.5.0
    Time taken
    67 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.5.0
    Time taken
    67 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.5.0
    Time taken
    20 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.5.0
    Time taken
    75 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.5.0
    Time taken
    82 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

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

CRAN rank

18,318 of 26,530

CRAN

245 downloads in the last 30 days

Rank
18,318 of 26,530
Change
−16.7% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

Rank
19,986 of 30,526
Change
−80% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,992 of 29,212
Change
−63.6% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
2
Dependent packages
1
Suggested by
0
Needs (2)
Installing it adds
11 packages, 2.2 MB of source
Of those, need compilation
4
Optional extras (1)
Dependent packages (1)
PackageTitleDownloads in 30 days
pedsuiteEasy Installation of the 'pedsuite' Packages for Pedigree Analysis277
Functions
15
Public exports
3
Lines of R code
838
Median complexity
8
Functions (15)
Size and composition

Lines by kind (1,943)

KindLinesShare
R code83843%
Tests80141%
Documentation30416%

Lines by language

LanguageLinesShare
R1,63984%
Rd30416%

Languages are counted from file extensions.

Files
31
R functions
15
Complexity
Median
8
Mean
9.13
Highest
27
Median lines per function
31
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
15
Calls
13
Unconnected
4
Groups
2
Growth (4 releases)
Total lines by release
634 on 15 Apr 20211,943 on 26 Aug 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
71.9%
Expressions run by tests
71.9%
Test cases
18
Exports named in tests
66.7%
Coverage by file (8)
Coverage run
Lines counted
406
Lines the tests ran
292
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
801
Test lines per line of code
0.96
Exports documented
100%
Arguments documented
93.9%
Return value documented
66.7%
Help pages with examples
75%
Examples run in checks
100%
Other documentation
README
Yes, 299 words
Release notes file
Yes
Help pages
4
Lines of documentation
304

magnusdv / segregatr on github.com

Stars
3
Forks
1
Open issues
0
Last commit
25 Aug 2025
Activity
Commits
83
Open pull requests
0
Tagged releases
4
Latest tagged release
v0.5.0, 27 Aug 2025
Issues closed in
39 days (median)
Pull requests closed in
9 days (median)
Pull requests merged
100%
Created
3 Apr 2020
Licence file reads as
–
Development practices (3)
KindFound
Continuous integrationGitHub Actions
Docs sourceREADME.Rmd
Lint, format, editorRStudio project

Method, repository practices

Across magnusdv

R releases
  • On CRAN
  • Release
VersionReleasedR
0.5.0 current27 Aug 20254.5.1
0.4.028 Jun 20244.4.1
0.3.026 Jun 20234.3.1
0.2.015 Apr 20214.0.5
Release notes (0.5.0)
  • New function sFLB() computing a 'shared' (proband-free) version of the FLB score.