Description Usage Arguments Details Value
This function ensures the genotype is coded to the minor allele.
1 | codeToMinor(Z)
|
Z |
A genotype matrix (dosage matrix) - rows correspond to individuals and columns correspond to SNPs. Use 'NA' for missing values. |
This function ensures the minor allele frequency is < 0.5. Note this assumes the genotype matrix is coded 0/1/2.
If Z is not a matrix it will be coerced with as.matrix.
a recoded genotype matrix (dosage matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.