Simulate phenotypes from any GLM model
Author OpenMendel
3 Stars
Updated Last
2 Years Ago
Started In
February 2019
Documentation Build Status Code Coverage
build Actions Status codecov


Authors: Sarah Ji, Chris German, Kenneth Lange, Janet Sinsheimer, Jin Zhou, Hua Zhou, Eric Sobel

A convenient tool for simulating phenotypes for unrelateds or families under a variety of supported models.

**(1) GLM Traits: Generalized Linear Models

**(2) VCM Traits: Variance Component Models

**(3) Improved Multinomial Case/Control Traits: Ordered Multinomial Models:

**(4) GLMM Traits: Generalized Linear Mixed Models

Trait Simulation in Julia.


This package requires Julia v0.7 or later, which can be obtained from or by building Julia from the sources in the repository.

The package has not yet been registered and must be installed using the repository location. For example, by executing the following code:

using Pkg


If you use TraitSimulation.jl in your research, please cite the following reference in the resulting publication:

*Ji, Sarah & German, Christopher & Lange, Kenneth & Sinsheimer, Janet & Zhou, Hua & Zhou, Jin & Sobel, Eric. (2021). Modern simulation utilities for genetic analysis. BMC Bioinformatics. 22. 10.1186/s12859-021-04086-8. PMID: 33941078; PMCID: PMC8091532

If you use any OpenMendel analysis packages in your research, please cite the following reference in the resulting publication:

Zhou H, Sinsheimer JS, Bates DM, Chu BB, German CA, Ji SS, Keys KL, Kim J, Ko S, Mosher GD, Papp JC, Sobel EM, Zhai J, Zhou JJ, Lange K. OPENMENDEL: a cooperative programming project for statistical genetics. Hum Genet. 2020 Jan;139(1):61-71. doi: 10.1007/s00439-019-02001-z. Epub 2019 Mar 26. PMID: 30915546; PMCID: PMC6763373.


This project has been supported by the National Institutes of Health under awards R01GM053275, R01HG006139, R25GM103774, and 1R25HG011845.