View source: R/create_epistatic_trait.R
create_epistatic_trait | R Documentation |
Create a trait in which the phenotype is epistatic (i.e. determined by multiple SNPs) and the minor allele frequency is known.
create_epistatic_trait(
mafs = 0.25,
n_snps = 2,
regular_phenotype_value = 20,
epistatic_phenotype_value = 21
)
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 |
regular_phenotype_value |
the regular phenotypic value |
epistatic_phenotype_value |
the phenotypic value when the epistatic phenotype is expressed |
The phenotype is fully and perfectly determined by the genotype, see calc_epistatic_phenotype_values for the exact phenotypic values
Richèl J.C. Bilderbeek
create_epistatic_trait()
create_epistatic_trait(maf = 0.01)
create_epistatic_trait(n_snps = 3)
create_epistatic_trait(regular_phenotype_value = 3.14)
create_epistatic_trait(epistatic_phenotype_value = 2.71)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.