The study of how genes and environment interact to determine the distribution of traits in a population.