Skip to main content

Table 2 Contingency table of a SNP, with the genotype codes 0 for the homozygous pair of minor alleles, 1 for the heterozygous pair and 2 for the homozygous pair of major alleles.

From: Bag of Naïve Bayes: biomarker selection and classification from genome-wide SNP data

genotype 0 1 2  
cases a b c n ca
controls d e f n co
  n 0 n 1 n 2 n
  1. Each element in the contingency table reports the number of subjects with the corresponding genotype and phenotype. n0, n1 and n2 are the column sums, n ca and n co are the row sums and n is the total subject count for the SNP.