Skip to main content
. 2015 Apr 16;31(16):2601–2606. doi: 10.1093/bioinformatics/btv201

Table 1.

Formulae for P-value calculation

Inputs A SNP set of LD-pruned r GWAS-index SNPs
Regulatory regions of interest formatted as BED files
m = number of control SNPs selected for each index SNP

Intermediate Statistics SNP set i (1 ≤ i ≤ r) = index SNP i and its m control SNPs
pi=number of SNPs  in  SNP  setifall  in  regulatory  regions  of  interest m+1
S={1randomly  drawn  SNP  from  SNP  set i falls  in  regulatory  regions  of  interest 0otherwise
Si ∼ Bernoulli (pi)
i=1rSi  sum  of  r  independent  non–identical  Bernoulli  distribution 

Outputs s = number of SNPs that fall in regulatory regions of interest in the input GWAS-index SNPs
Enrichment P-value = P(i=1rSi s)
Expected value of i=1rSi

A SNP is considered to be falling in regulatory regions of interest if itself or any of its LD proxies has positional overlap with the regions.