library(devtools)
load_all("~/git/variani/matlm/")
load_all("~/git/variani/qq/")
library(pander)
library(ggplot2)
theme_set(theme_light())
N <- 2e3
M <- 2e3
seed <- 1
rho <- 0.9
simpred_uncor <- matlm_sim_randpred(seed = seed, N = N, M = M)
assoc_uncor <- with(simpred_uncor, matlm(form, dat, pred = pred))
qq_plot(assoc_uncor$tab$pval)
Conneely, Karen N, and Michael Boehnke. 2007. “So Many Correlated Tests, so Little Time! Rapid Adjustment of P Values for Multiple Correlated Tests.” The American Journal of Human Genetics 81 (6). Elsevier: 1158–68.
Joo, Jong Wha J, Farhad Hormozdiari, Buhm Han, and Eleazar Eskin. 2016. “Multiple Testing Correction in Linear Mixed Models.” Genome Biology 17 (1). BioMed Central: 62.