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 06 May. 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
04/0604/0704/0804/0904/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/05Downloads for LEGIT05101520253035404550TrendBars

Today's Hot Picks in Authors and Packages

netUtils  
A Collection of Tools for Network Analysis
Provides a collection of network analytic (convenience) functions which are missing in other standar ...
Download / Learn more Package Citations See dependency  
rotations  
Working with Rotation Data
Tools for working with rotational data, including simulation from the most commonly used distributi ...
Download / Learn more Package Citations See dependency  
HuraultMisc  
Guillem Hurault Functions' Library
Contains various functions for data analysis, notably helpers and diagnostics for Bayesian modelling ...
Download / Learn more Package Citations See dependency  
tbrf  
Time-Based Rolling Functions
Provides rolling statistical functions based on date and time windows instead of n-lagged observatio ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
simfam  
Simulate and Model Family Pedigrees with Structured Founders
The focus is on simulating and modeling families with founders drawn from a structured population (f ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

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