Haplin
7.3.2Analyzing Case-Parent Triad and/or Case-Control Data with SNP Haplotypes
Overview
Performs genetic association analyses of case-parent triad (trio) data with multiple markers. It can also incorporate complete or incomplete control triads, for instance independent control children. Estimation is based on haplotypes, for instance SNP haplotypes, even though phase is not known from the genetic data. 'Haplin' estimates relative risk (RR + conf.int.) and p-value associated with each haplotype. It uses maximum likelihood estimation to make optimal use of data from triads with missing genotypic data, for instance if some SNPs has not been typed for some individuals. 'Haplin' also allows estimation of effects of maternal haplotypes and parent-of-origin effects, particularly appropriate in perinatal epidemiology. 'Haplin' allows special models, like X-inactivation, to be fitted on the X-chromosome. A GxE analysis allows testing interactions between environment and all estimated genetic effects. The models were originally described in "Gjessing HK and Lie RT. Case-parent triads: Estimating single- and double-dose effects of fetal and maternal disease gene haplotypes. Annals of Human Genetics (2006) 70, pp. 382-396".
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 33%
- Documented parameters
- 97%
- Return-value docs
- 90%
- References docs
- 52%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 6.0 median / 58 max
- Test cases
- 122 / 0.43 per code line
Test coverage
Line coverage
36%
Expression
33.0%
Tests / Examples
36.0% / 42% ex
Functions
193 39 exported
Complexity
11.4 avg / 58 max
Call network
193 nodes / 278 edges
Call graph
Open call graph →Lowest coverage
193 functions| Function | Cyclo | Coverage |
|---|---|---|
| cbindFiles exp | 12 | 0% |
| convertPed exp | 18 | 0% |
| finishParallelRun exp | 2 | 0% |
| gxe exp | 24 | 0% |
| hapPower exp | 13 | 0% |
| hapPowerAsymp exp | 19 | 0% |
People & History
29 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 7.3.2Latest
- RR 4.4.0 released · 2024-04-24
- 7.3.12024-02-08 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 7.3.02022-05-20 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 7.2.32020-09-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 7.2.22020-01-07 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 7.1.02019-04-17 · diff ↗
- 7.0.02018-05-28 · diff ↗
- unarchivedReturned to CRAN2018-05-28
Show 36 earlier events
- archivedRemoved from CRAN2018-05-25depends on archived packages 'DatABEL' and 'GenABEL'
- RR 3.5.0 released · 2018-04-23
- 6.2.12017-10-18 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 6.2.02017-02-28 · diff ↗
- 6.0.12016-05-26 · diff ↗
- 6.02016-05-25 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 5.52015-05-15 · diff ↗
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 5.32013-05-23 · diff ↗
- 5.22013-05-02 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 3.0.02013-03-18 · diff ↗
- 5.0.22013-03-18 · diff ↗
- 5.0.12013-03-08 · diff ↗
- 5.02013-02-06 · diff ↗
- 2.15.32013-02-05 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 4.12012-03-16 · diff ↗
- 2.15.02012-03-15 · diff ↗
- 4.02012-01-27 · diff ↗
- 2.14.22012-01-26 · diff ↗
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 3.52010-05-26 · diff ↗
- 2.11.12010-05-17 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 3.0.22010-01-10 · diff ↗
- 2.11.02010-01-08 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 3.0.12009-05-27 · diff ↗
- 2.10.02009-05-25
- RR 2.9.0 released · 2009-04-17
Package metadata
- First published
- 2009-05-27
- Total releases
- 29 / 17 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 2.0 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet