Genome-Wide Robust Analysis for Biobank Data (GRAB)
Overview
Provides a comprehensive suite of genome-wide association study (GWAS) methods specifically designed for biobank-scale data, including but not limited to, robust approaches for time-to-event traits (Li et al., 2025 doi:10.1038/s43588-025-00864-z) and ordinal categorical traits (Bi et al., 2021 doi:10.1016/j.ajhg.2021.03.019). The package also offers general frameworks for GWAS of any trait type (Bi et al., 2020 doi:10.1016/j.ajhg.2020.06.003), while accounting for sample relatedness (Xu et al., 2025 doi:10.1038/s41467-025-56669-1) or population structure (Ma et al., 2025 doi:10.1186/s13059-025-03827-9). By accurately approximating score statistic distributions using saddlepoint approximation (SPA), these methods can effectively control type I error rates for rare variants and in the presence of unbalanced phenotype distributions. Additionally, the package includes functions for simulating genotype and phenotype data to support research and method development.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 28 (5 internal)
- Examples that run
- 93%13 run in a plain check · 1 hold no code
- Exported functions with examples
- 50%
- Documented parameters
- 88%
- Return-value docs
- 100%
- Help pages citing references
- 25%
Downloads
Dependencies
Installing GRAB adds 41 packages (27 with compiled code, 51 MB of source tarballs). Heaviest: BH 14 MB, data.table 5.7 MB, igraph 4.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.2.5Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.42025-12-05 · diff ↗ ·
removed 8 exports
checkIfSampleIDsExist, getDenseGRM, getSampleIDsFromBGEN, getVersionFromBGEN, handleFormula, makeGroup, setDenseGRM, TestforBatchEffectadded 1 export
getPairwiseIBD - 0.2.32025-08-20 · diff ↗
- 0.2.22025-07-29 · diff ↗
- 0.2.12025-07-25
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-07-25
- Total releases
- 5 / 1 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 1.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("GRAB")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.