View source: R/create_random_trait.R
create_random_trait | R Documentation |
Create a trait with no relation between genotype and phenotype and a known minor allele frequency.
create_random_trait(mafs = 0.25, n_snps = 1)
mafs |
one or more minor allele frequencies. These allele frequencies must be ordered decreasingly, i.e. the MAF is at the first position, where the even rarer alleles are at the second and third positions. Note that |
n_snps |
the number of SNPs, as can be checked by check_n_snps |
Richèl J.C. Bilderbeek
create_random_trait()
create_random_trait(maf = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.