then calculate the average chi-squared statistic for the most significant SNPs per gene. Permutation tests were used to obtain empirical significance levels of the gene-based test, while accounting for the number of tests conducted within gene and the lack of independence of SNPs within gene. Sets could be comprised of up to 5 SNPs and gene-wide statistical significance was estimated with 50,000 permutations.