The study of the changes in the expression of genes over time and their relationship to environmental factors.