Package: PhenotypeSimulator 0.3.4

Hannah Meyer

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

Authors:Hannah Meyer [aut, cre], Konrad Rudolph [ctb]

PhenotypeSimulator_0.3.4.tar.gz
PhenotypeSimulator_0.3.4.zip(r-4.5)PhenotypeSimulator_0.3.4.zip(r-4.4)PhenotypeSimulator_0.3.4.zip(r-4.3)
PhenotypeSimulator_0.3.4.tgz(r-4.4-x86_64)PhenotypeSimulator_0.3.4.tgz(r-4.4-arm64)PhenotypeSimulator_0.3.4.tgz(r-4.3-x86_64)PhenotypeSimulator_0.3.4.tgz(r-4.3-arm64)
PhenotypeSimulator_0.3.4.tar.gz(r-4.5-noble)PhenotypeSimulator_0.3.4.tar.gz(r-4.4-noble)
PhenotypeSimulator_0.3.4.tgz(r-4.4-emscripten)PhenotypeSimulator_0.3.4.tgz(r-4.3-emscripten)
PhenotypeSimulator.pdf |PhenotypeSimulator.html
PhenotypeSimulator/json (API)
NEWS

# Install 'PhenotypeSimulator' in R:
install.packages('PhenotypeSimulator', repos = c('https://hannahvmeyer.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/hannahvmeyer/phenotypesimulator/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

6.46 score 28 stars 17 scripts 351 downloads 3 mentions 21 exports 83 dependencies

Last updated 3 years agofrom:ef068bb952. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-win-x86_64NOTENov 15 2024
R-4.5-linux-x86_64NOTENov 15 2024
R-4.4-win-x86_64NOTENov 15 2024
R-4.4-mac-x86_64NOTENov 15 2024
R-4.4-mac-aarch64NOTENov 15 2024
R-4.3-win-x86_64NOTENov 15 2024
R-4.3-mac-x86_64NOTENov 15 2024
R-4.3-mac-aarch64NOTENov 15 2024

Exports:correlatedBgEffectsexpGen2probGengeneticBgEffectsgeneticFixedEffectsgetAlleleFrequenciesgetCausalSNPsgetKinshipnoiseBgEffectsnoiseFixedEffectsprobGen2expGenreadStandardGenotypesrescaleVariancerunSimulationsavePhenosetModelsimulateDistsimulateGenotypessimulatePhenotypesstandardiseGenotypestransformNonlinearwriteStandardOutput

Dependencies:backportsbase64encBiocGenericsbslibcachemcheckmatecliclustercolorspacecowplotdata.tabledigestdplyrevaluatefansifarverfastmapfontawesomeforeignFormulafsgenericsgetoptggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellmvtnormnlmennetoptparsepillarpkgconfigplyrR.methodsS3R.ooR.utilsR6rappdirsRColorBrewerRcppreshape2rlangrmarkdownrpartrstudioapisassscalessnpStatsstringistringrsurvivaltibbletidyselecttinytexutf8vctrsviridisviridisLitewithrxfunyamlzlibbioczoo

Flexible phenotype simulation with PhenotypeSimulator

Rendered fromPhenotypeSimulator.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2019-05-13
Started: 2019-03-17

Application of PhenotypeSimulator for a power analysis study

Rendered fromSimulation-and-LinearModel.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2021-07-14
Started: 2017-12-28

Using PhenotypeSimulator to simulate phenotypes based on an example dataset

Rendered fromSimulationBasedOnExampleData.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2021-07-14
Started: 2019-03-14

Genotype simulation supported by PhenotypeSimulator

Rendered fromsample-scripts-external-genotype-simulation.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2021-07-14
Started: 2017-11-21