CRAN/E | PhenotypeSimulator

PhenotypeSimulator

Flexible Phenotype Simulation from Different Genetic and Noise Models

Installation

About

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

Citation PhenotypeSimulator citation info
github.com/HannahVMeyer/PhenotypeSimulator
Bug report File report

Key Metrics

Version 0.3.4
R ≥ 3.5.0
Published 2021-07-16 1013 days ago
Needs compilation? yes
License MIT
License File
CRAN checks PhenotypeSimulator results

Downloads

Yesterday 16 +100%
Last 7 days 100 +19%
Last 30 days 323 -10%
Last 90 days 1.091 -5%
Last 365 days 4.184 -12%

Maintainer

Maintainer

Hannah Meyer

hannah.v.meyer@gmail.com

Authors

Hannah Meyer

aut / cre

Konrad Rudolph

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

Flexible phenotype simulation with PhenotypeSimulator
Simulation and linear model fit
Simulation based on example data
Supported Genotype Simulation

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

PhenotypeSimulator archive

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

Suggests

testthat
knitr
formatR
rmarkdown

LinkingTo

Rcpp