Description Usage Arguments Details Value
This is a helper function that adjusts the genotye coding scheme based on the genetic model specified.
1 | adjustModel(data_nomiss,model)
|
data_nomiss |
a data frame that contains the phenotype, covariates and genotype columns. Genotypes need to be coded as 0/1/2. |
model |
The model specified. Must be a string from one of the following: |
adjustModel
is an interior function that adjusts the genotype coding based on the genetic model specified. The coding scheme for different genetic models can be found in calculateEvianMLE
.
This function returns the data frame with the same columns but changed genotype coding based on the genetic model specified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.