This is a working repository for conducting environment-wide or exposome-wide mixed linear models using restricted maximum likelihood (REML) .
The mixed linear model is computed in two steps:
- Compute environmental relatedness matrix (ERM)
- Compute mixed linear model with ERM included as a random effect estimated using REML
This is the beginning of the repository for the project titled: Drawing parallels across complex trait genomics and social science to combine environmental and genetic risk factors for depression in a longitudinal US cohort. Pre-regsitered here: https://osf.io/akzhd/
Any feedback can be provided through flagging an issue directly on github, or by emailing myself (Katherine Thompson) on thom1336@purdue.edu