LEGIT
Latent Environmental & Genetic InTeraction (LEGIT) Model
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) <arXiv:1703.08111>. 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 <arXiv:1712.04058>. The software can now produce mixed-effects LEGIT models through the lme4 package.
Downloads
295
Last 30 days
10661st
295
Last 90 days
295
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
Maintainer: ‘Alexia Jolicoeur-Martineau <alexia.jolicoeur-martineau@mail.mcgill.ca>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Alexia",
family = "Jolicoeur-Martineau",
role = c("aut", "cre"),
email = "alexia.jolicoeur-martineau@mail.mcgill.ca")
as necessary.
The Description field contains
<arXiv:1703.08111>. This approach has greatly enhanced predictive power
are available <arXiv:1712.04058>. The software can now produce
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Alexia Jolicoeur-Martineau <alexia.jolicoeur-martineau@mail.mcgill.ca>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Alexia",
family = "Jolicoeur-Martineau",
role = c("aut", "cre"),
email = "alexia.jolicoeur-martineau@mail.mcgill.ca")
as necessary.
The Description field contains
<arXiv:1703.08111>. This approach has greatly enhanced predictive power
are available <arXiv:1712.04058>. The software can now produce
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
*
*
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Alexia Jolicoeur-Martineau <alexia.jolicoeur-martineau@mail.mcgill.ca>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Alexia",
family = "Jolicoeur-Martineau",
role = c("aut", "cre"),
email = "alexia.jolicoeur-martineau@mail.mcgill.ca")
as necessary.
The Description field contains
<arXiv:1703.08111>. This approach has greatly enhanced predictive power
are available <arXiv:171
CRAN incoming feasibility
Maintainer: ‘Alexia Jolicoeur-Martineau <alexia.jolicoeur-martineau@mail.mcgill.ca>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Alexia",
family = "Jolicoeur-Martineau",
role = c("aut", "cre"),
email = "alexia.jolicoeur-martineau@mail.mcgill.ca")
as necessary.
The Description field contains
<arXiv:1703.08111>. This approach has greatly enhanced predictive power
are available <arXiv:171