Code to replicate analyses from the paper "Distinguishing differential susceptibility, diathesis-stress and vantage sensitivity: beyond the single gene and environment model". See preprint: https://psyarxiv.com/27uw8.
If you use the GxE interaction testing function from the LEGIT package (https://github.com/AlexiaJM/LEGIT), please cite these two papers:
Jolicoeur-Martineau, A., Wazana, A., Szekely, E., Steiner, M., Fleming, A. S., Kennedy, J. L., ... & Greenwood, C. M. (2018). Alternating optimization for G× E modelling with weighted genetic and environmental scores: Examples from the MAVAN study. Psychological methods.
Jolicoeur-Martineau, A., Belsky, J., Szekely, E., Widaman, K., Pluess, M., Greenwood, C., & Wazana, A. (2020). Distinguishing differential susceptibility, diathesis-stress, and vantage sensitivity: Beyond the single gene and environment model. Development and Psychopathology, 32(1), 73-83. doi:10.1017/S0954579418001438