Package: GRAB
Type: Package
Title: Genome-Wide Robust Analysis for Biobank Data (GRAB)
Version: 0.2.5
Date: 2026-07-03
Authors@R: c(person(given = "Wenjian",
                    family = "Bi",
                    role = "aut"),
             person(given = "Wei",
                    family = "Zhou",
                    role = "aut"),
             person(given = "Rounak",
                    family = "Dey",
                    role = "aut"),
             person(given = "Zhangchen",
                    family = "Zhao",
                    role = "aut"),
             person(given = "Seunggeun",
                    family = "Lee",
                    role = "aut"),
             person(given = "Woody",
                    family = "Miao",
                    role = "cre",
                    email = "miaolin@pku.edu.cn"))
Description: 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.
License: GPL (>= 2)
Encoding: UTF-8
Depends: R (>= 3.5.0)
Imports: dplyr, data.table, mvtnorm, Matrix, RSQLite, lme4, ordinal,
        survival, Rcpp, RcppParallel, igraph, rlang
Suggests: SKAT, dbplyr, tidyr, R.utils
LinkingTo: Rcpp, RcppArmadillo, RcppParallel, BH
RoxygenNote: 8.0.0
NeedsCompilation: yes
Author: Wenjian Bi [aut],
  Wei Zhou [aut],
  Rounak Dey [aut],
  Zhangchen Zhao [aut],
  Seunggeun Lee [aut],
  Woody Miao [cre]
Maintainer: Woody Miao <miaolin@pku.edu.cn>
Repository: CRAN
Packaged: 2026-07-03 06:04:08 UTC; miaolin
Date/Publication: 2026-07-03 07:20:02 UTC
Built: R 4.6.1; x86_64-w64-mingw32; 2026-07-28 04:18:43 UTC; windows
Archs: x64
