DOI: 10.5061/dryad.sr3g0
title: Data from: Quantitative genetic variance in experimental fly populations evolving with or without environmental heterogeneity

description: Heterogeneous environments are typically expected to maintain more genetic
 variation in fitness within populations than homogeneous environments.
 However, the accuracy of this claim depends on the form of heterogeneity
 as well as the genetic basis of fitness traits and how similar the assay
 environment is to the environment of past selection. Here we measure
 quantitative genetic variance for three traits important for fitness using
 replicated experimental populations of Drosophila melanogaster evolving
 under four selective regimes: constant salt-enriched medium (Salt),
 constant cadmium-enriched medium (Cad), and two heterogeneous regimes that
 vary either temporally (Temp) or spatially (Spatial). As theory predicts,
 we found that Spatial populations tend to harbor more genetic variation
 than Temp populations or those maintained in a constant environment that
 is the same as the assay environment. Contrary to expectation, Salt
 populations tend to have more genetic variation than Cad populations in
 both assay environments. We discuss the patterns for quantitative genetic
 (QG) variances across regimes in relation to previously reported data on
 genome-wide sequence diversity. For some traits, the QG patterns are
 similar to the diversity patterns of ecological selected SNPs whereas the
 QG patterns for some other traits resembled that of neutral SNPs.
description: Survival_cadmium_dietEgg to adult survival measured in cadmium diet. Each separate file is the data for one replicate population. Each male crossed with ~4 females to produce a half-sib family. “Dam” column shows the female ID (full-sib family ID). “Sire” column shows the male ID (half-sib family ID). “Egg” shows the number of eggs produced per female. “Adult” shows the number of adult emerged from those eggs.Survival_salt_dietEgg to adult survival measured in salt diet. Each separate file is the data for one replicate population. Each male crossed with ~4 females to produce a half-sib family. “Dam” column shows the female ID (full-sib family ID). “Sire” column shows the male ID (half-sib family ID). “Egg” shows the number of eggs produced per female. “Adult” shows the number of adult emerged from those eggs.Body_mass_cadmium_dietFemale and male body mass measured in cadmium diet. Each separate file is the data for one replicate population after excluding the outliers. “Dam” column shows the female ID (full-sib family ID). “Sire” column shows the male ID (half-sib family ID). “Female_Mass” column shows the average female mass per full-sib family. “Male_Mass” shows the average male mass per full-sib family.Body_mass_salt_dietFemale and male body mass measured in salt diet. Each separate file is the data for one replicate population after excluding the outliers. “Dam” column shows the female ID (full-sib family ID). “Sire” column shows the male ID (half-sib family ID). “Female_Mass” column shows the average female mass per full-sib family. “Male_Mass” shows the average male mass per full-sib family.code1 MCMCglmmAnalysisVsireR code for estimating the posterior distribution of Vsire for each replicate population using MCMCglmmcode2 LikelihoodMCMCglmmVsireTestR code for comparing Vsire from two regimes using maximum likelihood approach