PhenotypeSimulator: Flexible Phenotype Simulation from Different Genetic and Noise Models

Simulation is a critical part of method development and assessment in quantitative genetics. 'PhenotypeSimulator' allows for the flexible simulation of phenotypes under different models, including genetic variant and infinitesimal genetic effects (reflecting population structure) as well as non-genetic covariate effects, observational noise and additional correlation effects. The different phenotype components are combined into a final phenotype while controlling for the proportion of variance explained by each of the components. For each effect component, the number of variables, their distribution and the design of their effect across traits can be customised. For the simulation of the genetic effects, external genotype data from a number of standard software ('plink', 'hapgen2'/ 'impute2', 'genome', 'bimbam', simple text files) can be imported. The final simulated phenotypes and its components can be automatically saved into .rds or .csv files. In addition, they can be saved in formats compatible with commonly used genetic association software ('gemma', 'bimbam', 'plink', 'snptest', 'LiMMBo').

Version: 0.3.4
Depends: R (≥ 3.5.0)
Imports: methods, optparse, Hmisc, R.utils, mvtnorm, snpStats, zoo, data.table (≥ 1.11.0), Rcpp (≥ 0.12.11), cowplot, ggplot2, reshape2, dplyr
LinkingTo: Rcpp
Suggests: testthat, knitr, formatR, rmarkdown
Published: 2021-07-16
DOI: 10.32614/CRAN.package.PhenotypeSimulator
Author: Hannah Meyer ORCID iD [aut, cre], Konrad Rudolph ORCID iD [ctb]
Maintainer: Hannah Meyer <hannah.v.meyer at>
License: MIT + file LICENSE
NeedsCompilation: yes
Citation: PhenotypeSimulator citation info
Materials: README NEWS
CRAN checks: PhenotypeSimulator results


Reference manual: PhenotypeSimulator.pdf
Vignettes: Flexible phenotype simulation with PhenotypeSimulator
Simulation and linear model fit
Simulation based on example data
Supported Genotype Simulation


Package source: PhenotypeSimulator_0.3.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): PhenotypeSimulator_0.3.4.tgz, r-oldrel (arm64): PhenotypeSimulator_0.3.4.tgz, r-release (x86_64): PhenotypeSimulator_0.3.4.tgz, r-oldrel (x86_64): PhenotypeSimulator_0.3.4.tgz
Old sources: PhenotypeSimulator archive


Please use the canonical form to link to this page.