AlexiaJM/LEGIT: Latent Environmental & Genetic InTeraction (LEGIT) Model
Version 1.2.0

Constructs genotype x environment interaction (GxE) models where G is a weighted sum of genetic variants (genetic score) and E is a weighted sum of environments (environmental score) using the alternating optimization algorithm by Jolicoeur-Martineau et al. (2017) . This approach has greatly enhanced predictive power over traditional GxE models which include only a single genetic variant and a single environmental exposure. Although this approach was originally made for GxE modelling, it is flexible and does not require the use of genetic and environmental variables. It can also handle more than 2 latent variables (rather than just G and E) and 3-way interactions or more. The LEGIT model produces highly interpretable results and is very parameter-efficient thus it can even be used with small sample sizes (n < 250). Tools to determine the type of interaction (vantage sensitivity, diathesis-stress or differential susceptibility), with any number of genetic variants or environments, are available <10.17605/OSF.IO/27UW8>.

Getting started

Package details

AuthorAlexia Jolicoeur-Martineau <[email protected]>
MaintainerAlexia Jolicoeur-Martineau <[email protected]>
LicenseGPL-3
Version1.2.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("AlexiaJM/LEGIT")
AlexiaJM/LEGIT documentation built on Dec. 10, 2017, 2:14 p.m.