“…In recent years, landscape genomic methods (Narum & Hess, 2011) and genotype-environment association analyses (GEAs) (e.g., Bernatchez, 2016;Forester et al, 2018;Villemereuil et al, 2014) have been developed to identify signals of adaptation. Many riverscape genomic studies have investigated the effect of temperature, precipitation regime, geology, various distance variables (elevation, migration distance) or barriers to migration (e.g., dams) on local adaptation (e.g., Moore et al, 2017;Micheletti et al, 2018, Dallaire et al, 2021. A major challenge in thoroughly interpreting genome scans and GEAs is to accurately take into account the effect of demographic history.…”