Skip to content

GMMAT

1.5.0Package record

Generalized Linear Mixed Model Association Tests

2packages dependsuggested by 1
15Kdownloads / year
30.4%test coverage
12/13flavors OK

Overview

About
Maintained by Han ChenCRAN page ↗

Perform association tests using generalized linear mixed models (GLMMs) in genome-wide association studies (GWAS) and sequencing association studies. First, GMMAT fits a GLMM with covariate adjustment and random effects to account for population structure and familial or cryptic relatedness. For GWAS, GMMAT performs score tests for each genetic variant as proposed in Chen et al. (2016) DOI:10.1016/j.ajhg.2016.02.012. For candidate gene studies, GMMAT can also perform Wald tests to get the effect size estimate for each genetic variant. For rare variant analysis from sequencing association studies, GMMAT performs the variant Set Mixed Model Association Tests (SMMAT) as proposed in Chen et al. (2019) DOI:10.1016/j.ajhg.2018.12.012, including the burden test, the sequence kernel association test (SKAT), SKAT-O and an efficient hybrid test of the burden test and SKAT, based on user-defined variant sets.

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORtestsr-oldrel-macos-arm64
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GMMAT)
  > Sys.setenv(MKL_NUM_THREADS = 1)
  > 
  > test_check("GMMAT")
  
   *** caught segfault ***
  address 0x110, cause 'invalid permissions'
  
   *** caught segfault ***
  address 0x110, cause 'invalid permissions'
  
  Traceback:
   1: eval(c.expr, envir = args, enclos = envir)
   2: eval(c.expr, envir = args, enclos = envir)
   3: doTryCatch(return(expr), name, parentenv, handler)
   4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5: tryCatchList(expr, classes, parentenv, handlers)
   6: tryCatch(eval(c.expr, envir = args, enclos = envir), error = function(e) e)
   7: FUN(X[[i]], ...)
   8: lapply(X = S, FUN = FUN, ...)
   9: doTryCatch(return(expr), name, parentenv, handler)
  10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  11: tryCatchList(expr, classes, parentenv, handlers)
  12: tryCatch(expr, error = function(e) {    call <- c
...[truncated]...
   'test_SMMAT.meta.R:165:2', 'test_glmm.score.R:317:2',
    'test_glmm.score.R:616:2', 'test_glmm.score.R:914:2',
    'test_glmm.score.R:1213:2', 'test_glmm.score.R:1505:2',
    'test_glmm.score.R:1797:2', 'test_glmm.wald.R:2:2', 'test_glmm.wald.R:805:2',
    'test_glmm.wald.R:1609:2', 'test_glmm.wald.R:1761:2', 'test_glmmkin.R:2:2',
    'test_glmmkin.R:82:2', 'test_glmmkin.R:163:2', 'test_glmmkin.R:245:2',
    'test_glmmkin.R:328:2', 'test_glmmkin.R:362:2', 'test_glmmkin.R:396:2'
  • {SeqArray} is not installed (2): 'test_SMMAT.R:2:9', 'test_SMMAT.meta.R:2:2'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_glmm.score.R:37:2'): cross-sectional id le 400 binomial ────────
  Error in `file(outfile, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. └─GMMAT::glmm.score(...) at test_glmm.score.R:37:9
   2.   └─base::file(outfile, "w")
  
  [ FAIL 1 | WARN 2 | SKIP 30 | PASS 3 ]
  Error:
  ! Test failures.
  Execution halted

CRAN check page ↗

Slowest check: 9.9 min · r-oldrel-macos-x86_64
Status changes
  • ERROR12 OK, 1 ERRORNow
  • ERROR9 OK, 3 NOTE, 2 ERROR2026-03-10
Advisories

none known

Documentation

In release 1.5.0
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
8includes a package overview page
Examples that run
17%1 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
92%
Return-value docs
100%
Help pages citing references
75%
Vignettes (1)

Downloads

15K
CRAN downloads in the past year
Rank #4,934 · ~41/day · ~1.2K/mo
Daily download trend is not available in this view yet.
68030 days
1.7K90 days
15K1 year
Compare downloads with other packages →
Also on445 r2u

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing GMMAT adds 6 packages (4 with compiled code, 8.9 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (1)
R >= 3.2.0
Imports (7)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (11)
Author, Maintainer since 1.0.3 (2019)
Author · added in 1.4.0
Author · added in 1.4.0
Contributor, Copyright holder · added in 1.4.0
Author and copyright holder of the C function Brent_fmin
Contributor, Copyright holder · added in 1.4.0
Author and copyright holder of included libdeflate library
Contributor, Copyright holder · added in 1.4.0
Author and copyright holder of the C function Brent_fmin
Contributor · added in 1.4.0
Contributor, Copyright holder · added in 1.4.0
Author and copyright holder of the C function Brent_fmin
Contributor, Copyright holder · added in 1.4.0
Author and copyright holder of threading code used in the included Zstandard (zstd) library
Copyright holder · added in 1.4.0
Copyright holder of included Zstandard (zstd) library
Copyright holder · added in 1.4.0
Copyright holder of the C function Brent_fmin
Listed in earlier versions (2)
no longer listed · 1.0.3 to 1.3.2
Duy T. Pham
no longer listed · 1.3.0 to 1.3.2
Releases (13)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.5.0Latest
    record
    2025-11-22 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.4.2
    record
    2023-11-17 · diff ↗
  • 1.4.1
    record
    2023-10-07 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2023-04-14
  • 1.4.0
    record
    2023-04-14 · diff ↗
  • removedRemoved from CRAN
    2023-04-05
    policy violations Including misrepresentation of authorship
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3.2
    record
    2021-07-16 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2020-09-23
  • 1.3.1
    record
    2020-09-23 · diff ↗ ·
    added 2 exports
    SMMAT.prep, SMMAT.lowmem
  • archivedRemoved from CRAN
    2020-09-20
    problems were not corrected in time
Show 10 earlier eventsHide 10 earlier events

Package metadata

First published
2019-01-30
Total releases
13 / 7 yrs
License
GPL (>= 3) OSI
Copyright
See COPYRIGHTS for details.
Minimum R
≥ 3.2.0
Bundled data
509 KB / 2 files
Download size
1.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("GMMAT")
Chen, H., Meta Platforms, Inc. and affiliates, The R Core Team, The R Foundation, Biggers, E., Conomos, M., Gentleman, R., Gilly, A., Ihaka, R., Pham, D., & Reichardt, T. (2025). GMMAT: Generalized Linear Mixed Model Association Tests (Version 1.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.GMMAT

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for GMMAT version 1.5.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy