countGenotypicClasses | R Documentation |
Count the genotypic classes per SNP (not imputed, i.e. 0, 1, 2 and NA).
countGenotypicClasses(X)
X |
matrix of bi-allelic SNP genotypes encoded in allele doses in 0,1,2, with genotypes in rows and SNPs in columns; missing values should be encoded as NA |
matrix with 4 columns and as many rows as there are SNPs
Timothee Flutre
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.