View source: R/create_simulate_qt_params.R
create_simulate_qt_params | R Documentation |
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.
create_simulate_qt_params(
n_snps,
snp_label,
allele_frequency_lower,
allele_frequency_upper,
additive_genetic_variance,
ratio_dominance_to_additive
)
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 |
This function is named after the --simulate-qt
PLINK flag.
Richèl J.C. Bilderbeek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.