A proximity-based method to identify genomic regions correlated with a continuously varying environmental variable.