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]
First Published: 2017-02-13
Latest Update: 2022-01-11
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 01 Apr. 2025.
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
03/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/3003/31Downloads for LEGIT05101520253035404550TrendBars

Today's Hot Picks in Authors and Packages

eSIR  
Extended State-Space SIR Models
An implementation of extended state-space SIR models developed by Song Lab at UM school of Public H ...
Download / Learn more Package Citations See dependency  
gasmodel  
Generalized Autoregressive Score Models
Estimation, forecasting, and simulation of generalized autoregressive score (GAS) models of Creal, ...
Download / Learn more Package Citations See dependency  
samplesize  
Sample Size Calculation for Various t-Tests and Wilcoxon-Test
Computes sample size for Student's t-test and for the Wilcoxon-Mann-Whitney test for categorical dat ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
simplevis  
Wrappers to Simplify Beautiful "ggplot2" and "leaflet" Visualisation
Wrapper functions around the amazing 'leaflet' package that aims to simplify 'leaflet' visualisatio ...
Download / Learn more Package Citations See dependency  
shinyBS  
Twitter Bootstrap Components for Shiny
Adds additional Twitter Bootstrap components to Shiny. ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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