create_simulate_qt_params: Create a set of parameters for simulating a quantitative...

View source: R/create_simulate_qt_params.R

create_simulate_qt_paramsR Documentation

Create a set of parameters for simulating a quantitative trait

Description

Create a set of parameters for simulating for simulating a quantitative trait (see simulate_qt). Use create_test_simulate_qt_params) for a set of parameters using in testing.

Usage

create_simulate_qt_params(
  n_snps,
  snp_label,
  allele_frequency_lower,
  allele_frequency_upper,
  additive_genetic_variance,
  ratio_dominance_to_additive
)

Arguments

n_snps

the number of SNPs, as can be checked by check_n_snps

snp_label

Label of this set of SNPs

allele_frequency_lower

Lower allele frequency range

allele_frequency_upper

Upper allele frequency range

additive_genetic_variance

The additive genetic variance

ratio_dominance_to_additive

The ratio of dominance to additive effects

Note

This function is named after the --simulate-qt PLINK flag.

Author(s)

Richèl J.C. Bilderbeek


richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.