I have come across the term snp enrichment in many papers but I have yet to find a clear definition. From this post, snp enrichment seems to be just a higher than average number of snps in a designated region. While in other papers, snp enrichment seems to be somehow linked to gwas studies. Or for instance in the introduction in this paper, a snp is enriched if "it is more likely to be associated with a phenotype than others".
So my question is, what exactly does snp enrichment mean? And if I were to test for snp enrichment, what methods should I use (If the first definition is correct, I was thinking of constructing a sliding window plot of snp density in R, and then look at the regions that my genes of interest fall in and see if there are greater snps in those regions)? Thank you!