Package: LEGIT
Title: Latent Environmental & Genetic InTeraction (LEGIT) Model
Version: 1.4.1
Date: 2024-01-23
Author: Alexia Jolicoeur-Martineau
        <alexia.jolicoeur-martineau@mail.mcgill.ca>
Maintainer: Alexia Jolicoeur-Martineau
 <alexia.jolicoeur-martineau@mail.mcgill.ca>
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.
License: GPL-3
Imports: pROC, foreach, snow, doSNOW, utils, iterators, Hmisc,
        grDevices, boot, RColorBrewer, glmnet, lme4, methods
Depends: formula.tools, stats, graphics
Encoding: UTF-8
RoxygenNote: 7.3.0
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-10-09 09:18:27 UTC; root
Config/pak/sysreqs: cmake make libicu-dev libuv1-dev
Repository: https://alexiajm.r-universe.dev
Date/Publication: 2024-01-25 02:41:55 UTC
RemoteUrl: https://github.com/cran/LEGIT
RemoteRef: HEAD
RemoteSha: d19facb6fce429a20c4e22def4e020bf83c0e391
Built: R 4.6.0; ; 2026-10-09 09:20:33 UTC; unix
