A Genotype-environment Association (GEA) test is a method that searches for statistically significant correlations between allele frequency and the environment. It is commonly used to test whether the genomic variation of a certain gene is due to local adaptation.