GMMAT
Generalized Linear Mixed Model Association Tests
Description
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.
Downloads
543
Last 30 days
7418th
1.8K
Last 90 days
23.7K
Last year
Trend: -11.3% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | ERROR |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (5 non-OK)
installed package size
installed size is 7.6Mb
sub-directories of 1Mb or more:
libs 5.7Mb
package dependencies
Packages suggested but not available for checking: 'SeqArray', 'SeqVarTools'
installed package size
installed size is 7.7Mb
sub-directories of 1Mb or more:
libs 5.8Mb
package dependencies
Package suggested but not available for checking: 'doMC'
tests
Running ‘testthat.R’ [1s/1s]
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
Check History
ERROR 9 OK · 3 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 10, 2026
tests
Running ‘testthat.R’ [1s/1s]
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, cau
...[truncated]...
ile(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
tests
Running ‘testthat.R’ [1s/1s]
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, cau
...[truncated]...
ile(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
package dependencies
Packages suggested but not available for checking: 'SeqArray', 'SeqVarTools'
installed package size
installed size is 7.7Mb
sub-directories of 1Mb or more:
libs 5.8Mb
package dependencies
Package suggested but not available for checking: 'doMC'