segregatr
0.5.0Segregation Analysis for Variant Interpretation
Overview
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).
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 94%
- Return-value docs
- 67%
- References docs
- 50%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/magnusdv/segregatr on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 8.0 median / 27 max
- Test cases
- 18 / 0.96 per code line
Test coverage
Line coverage
72%
Expression
71.9%
Tests / Examples
71.9% / 82% ex
Functions
15 3 exported
Complexity
9.1 avg / 27 max
Call network
15 nodes / 13 edges
Call graph
Open call graph →Lowest coverage
15 functions| Function | Cyclo | Coverage |
|---|---|---|
| sFLB exp | 6 | 0% |
| .myintersect | 1 | 0% |
| .mysetdiff | 1 | 0% |
| isCount | 5 | 0% |
| rareDistr | 9 | 0% |
| plotSegregation exp | 27 | 72% |
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2021-04-15
- Total releases
- 4 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 31 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet