Description Usage Arguments Value Author(s)
Computes for each SNP represented by a row of a matrix the frequency of the minor allele.
1 |
x |
a matrix in which each row represents a SNP and each column a subject, where the genotypes of each SNP are coded by 1 (for the homozygous reference genotype), 2 (heterozygous), and 3 (homozygous variant). NAs are also allowed. |
check |
should it be checked if the matrix contains values differing from 1, 2, and 3?
It is highly recommended to leave |
a vector containing the minor allele frequency of the SNPs represented by x
.
Holger Schwender, holger.schwender@udo.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.