Meta-Analysis of Correlated Genetic Association Studies
Overview
The main function performs meta-analysis of genetic association study summary statistics that may be correlated due to cryptic relatedness or other confounders, generalizing inverse variance weighted methods. The function that estimates the correlation structure is also provided standalone. Another key innovation, the estimation of the correlation parameter from the median product of correlated standard normal variables, is provided, as well as a complete set of functions for their underlying distribution: density, cumulative, quantile, and random deviates. Described in Tu and Ochoa (2026) doi:10.1016/j.xhgg.2026.100657.
- Functions
*prodcorfixed a bug revealed by a new warning in R-devel only: "object length is not a multiple of subscript length". The bug was there previously, though it occurred rarely, but it was silent in previous R versions. - From R-devel news, this is the change that triggers the new warnings addressed by this fix: "x[logi], with logi a logical index, now warns if length(x) is not a multiple of length(logi), fixing PR#19155 thanks to several participants in two R Dev Days and the R Sprint in 2026."
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-19
- ERROR12 OK, 1 ERROR2026-09-13
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-05-13
Documentation
- Help pages
- 5 (1 internal)includes a package overview page
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 20%
- metalcor HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Commits over time
Commit identities over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/ochoalab/metalcor on 2026-10-25.
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.0.2Latest
- 1.0.0first seen 2026-05-12
- RR 4.6.0 released · 2026-04-24
Package metadata
- First seen
- 2026-05-12
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 3) OSI
- Download size
- 141 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("metalcor")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.