“…Recent studies have found strong relationships between ecological traits and genetic diversity at broad phylogenetic scales (e.g., across phyla; Romiguier et al, ); whether such patterns are also exhibited by more closely related species with similar life history traits remains equivocal (Ellegren & Galtier, ; Romiguier et al, ; Singhal, Huang, et al, ). Additionally, there is some evidence that microhabitat preference can limit dispersal and reduce within‐population genetic diversity (Brouat, Chevallier, Meusnier, Noblecourt, & Rasplus, ; Brouat, Sennedot, Audiot, Leblois, & Rasplus, ; Dalongeville et al, ; Khimoun et al, ; Pianka, ; Rabosky, Cowan, Talaba, & Lovette, ), but studies combining genome‐wide diversity estimates with ecological traits at the community level are rare.…”