Other packages > Find by keyword >

LEGIT  

Latent Environmental & Genetic InTeraction (LEGIT) Model
View on CRAN: Click here


Download and install LEGIT package within the R console
Install from CRAN:
install.packages("LEGIT")

Install from Github:
library("remotes")
install_github("cran/LEGIT")

Install by package version:
library("remotes")
install_version("LEGIT", "1.4.1")



Attach the package and use:
library("LEGIT")
Maintained by
Alexia Jolicoeur-Martineau
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-02-13
Latest Update: 2024-01-24
Description:
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 . The software can now produce mixed-effects LEGIT models through the lme4 package.
How to cite:
Alexia Jolicoeur-Martineau (2017). LEGIT: Latent Environmental & Genetic InTeraction (LEGIT) Model. R package version 1.4.1, https://cran.r-project.org/web/packages/LEGIT. Accessed 08 Jun. 2026.
Previous versions and publish date:
1.0.0 (2017-02-13 23:59), 1.0.1 (2017-03-24 06:37), 1.0.2 (2017-04-03 01:34), 1.0.3 (2017-04-10 00:14), 1.0.4 (2017-04-17 23:36), 1.1.0 (2017-05-11 07:58), 1.1.1 (2017-05-22 00:59), 1.2.0 (2017-12-08 22:56), 1.2.1 (2018-02-07 18:14), 1.2.2 (2018-06-21 22:57), 1.2.3 (2019-05-20 00:30), 1.3.1 (2019-08-30 01:20), 1.3 (2019-07-26 14:20), 1.4.0 (2022-01-11 23:52)
Other packages that cited LEGIT R package
View LEGIT citation profile
Other R packages that LEGIT depends, imports, suggests or enhances
Complete documentation for LEGIT
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

ODMeans  
OD-Means: k-Means for Origin-Destination
OD-means is a hierarchical adaptive k-means algorithm based on origin-destination pairs. In the fir ...
Download / Learn more Package Citations See dependency  
penppml  
Penalized Poisson Pseudo Maximum Likelihood Regression
A set of tools that enables efficient estimation of penalized Poisson Pseudo Maximum Likelihood reg ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
geofacet  
'ggplot2' Faceting Utilities for Geographical Data
Provides geographical faceting functionality for 'ggplot2'. Geographical faceting arranges a sequen ...
Download / Learn more Package Citations See dependency  
AdvBinomApps  
Upper Clopper-Pearson Confidence Limits for Burn-in Studies under Additional Available Information
Functions to compute upper Clopper-Pearson confidence limits of early life failure probabilities and ...
Download / Learn more Package Citations See dependency  
FluMoDL  
Influenza-Attributable Mortality with Distributed-Lag Models
Functions to estimate the mortality attributable to influenza and temperature, using distributed-la ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA