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').

Package details

AuthorHannah Meyer [aut, cre] (<https://orcid.org/0000-0003-4564-0899>), Konrad Rudolph [ctb] (<https://orcid.org/0000-0002-9866-7051>)
MaintainerHannah Meyer <hannah.v.meyer@gmail.com>
LicenseMIT + file LICENSE
Version0.3.4
URL https://github.com/HannahVMeyer/PhenotypeSimulator
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("PhenotypeSimulator")

Try the PhenotypeSimulator package in your browser

Any scripts or data that you put into this service are public.

PhenotypeSimulator documentation built on July 16, 2021, 5:06 p.m.