View source: R/create_test_simulate_qt_params.R
create_test_simulate_qt_params | R Documentation |
Create a set of parameters (see create_simulate_qt_params) for simulating a quantitative trait (see simulate_qt) to be used for testing.
create_test_simulate_qt_params(
n_snps = 10,
snp_label = "test_trait",
allele_frequency_lower = 0.05,
allele_frequency_upper = 0.95,
additive_genetic_variance = 0.01,
ratio_dominance_to_additive = 0
)
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.