Effect of linkage disequilibrium on the identification of functional variants