Skip to content
/ gemma2 Public

Zhou & Stephens (2014) GEMMA multivariate linear mixed model

License

Notifications You must be signed in to change notification settings

fboehm/gemma2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ea3052f · Oct 24, 2020
Oct 21, 2020
Jan 1, 2018
Jul 3, 2020
Sep 30, 2018
Jan 3, 2018
Oct 24, 2020
Dec 19, 2017
Feb 1, 2018
Oct 24, 2020
Dec 19, 2017
Jul 3, 2020
Oct 24, 2020
Oct 1, 2019
Oct 1, 2019
Jun 21, 2017
Oct 22, 2020
Jun 21, 2017

Repository files navigation

Statuses

Travis-CI Build Status

codecov

CRAN RStudio mirror downloads

Overview

gemma2 is an implementation in R of the GEMMA v 0.97 EM algorithm that is part of the GEMMA algorithm for REML estimation of multivariate linear mixed effects models of the form:

[vec(Y) = X vec(B) + vec(G) + vec(E)]

where (E) is a n by 2 matrix of random effects that follows the matrix-variate normal distribution

[G \sim MN(0, K, V_g)]

where (K) is a relatedness matrix and (V_g) is a 2 by 2 covariance matrix for the two traits of interest.

Additionally, the random errors matrix (E) follows the distribution:

[E \sim MN(0, I_n, V_e)]

and (G) and (E) are independent.

Installation

To install gemma2, use the devtools R package from CRAN. If you haven’t installed devtools, please run this line of code:

install.packages("devtools")

Then, run this line of code to install gemma2:

devtools::install_github("fboehm/gemma2")

References

X. Zhou & M. Stephens. Efficient multivariate linear mixed model algorithms for genome-wide association studies. Nature Methods volume 11, pages 407–409 (2014). https://www.nature.com/articles/nmeth.2848

https://github.com/genetics-statistics/GEMMA

About

Zhou & Stephens (2014) GEMMA multivariate linear mixed model

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published