Data and code from: Multigenerational exposure to high-fat and high-sugar diets exacerbates reproductive distress in an insect model
Data files
Nov 20, 2025 version files 136.16 KB
-
Development.Time.Data.csv
1.55 KB
-
Development.Time.R.Script.R
2.50 KB
-
Dry.Weight.Data.csv
5.38 KB
-
Dry.Weight.R.Script.R
1.78 KB
-
Fat.Content.Data.csv
11.83 KB
-
Fat.Content.R.Script.R
1.81 KB
-
Fecundity.Data.csv
1.16 KB
-
Fecundity.R.Script.R
2.16 KB
-
Figure.2.R.Script.R
20.76 KB
-
Figure.3.R.Script.R
12.04 KB
-
Figure.4.R.Script.R
15.62 KB
-
Legend.xlsx
19.03 KB
-
Pupal.Viability.Data.csv
573 B
-
Pupal.Viability.R.Script.R
2.04 KB
-
README.md
2.45 KB
-
Starvation.Resistance.Data.csv
6.41 KB
-
Starvation.Resistance.R.Script.R
4 KB
-
Temperature.Data.csv
1.44 KB
-
Temperature.R.Script.R
1.99 KB
-
Weight-Length.Data.csv
19.56 KB
-
Weight-Length.R.Script.R
2.10 KB
Abstract
In our study, we used experimental evolution to determine how high-fat and high-sugar diets affect the fitness of the common house fly Musca domestica, and if multigenerational exposure leads to compensatory metabolic changes. Housefly larvae were reared on a high-fat, high-sugar, or control diet for 51 consecutive generations, whereupon we measured several larval, pupal, and adult life-history traits. To test the direct effects of the diets on life-history traits, we switched the 50th generation of control diet flies onto the experimental diets and measured the same life history traits. We also directly compared the single-generational exposed and the multigenerational evolved lines to determine if the observed diet-induced adverse metabolic effects expanded across generations.
Dataset DOI: 10.5061/dryad.t76hdr8dg
Description of the data and file structure
Files and variables
The .csv files contain the raw data. All variables are defined in the file Legend.xlsx. The file Legend.xlsx has multiple sheets, and the names of these sheets correspond to associated .csv files.
Development.Time.Data.csv
This is the raw data for the pupal development time (in hours).
Dry.Weight.Data.csv
This is the raw data for the larval dry weight (in mg).
Fat.Content.Data.csv
This is the raw data for the larval fat content (in mg).
Fecundity.Data.csv
This is the raw data for the female fecundity (as number of eggs).
Pupal.Viability.Data.csv
This is the raw data for the pupal viability ( as % survival).
Starvation.Resistance.Data.csv
This is the raw data for the starvation resistance (in hours).
Temperature.Data.csv
This is the raw data for the larval substrate temperature (in degrees Celsius)
Weight-Length.Data.csv
This is the raw data for the weight-to-length ratio.
Code/software
All statistical analyses were performed in RStudio (v.4.3.2, 2023.03.0, Build 386) using the packages ‘car’, ‘cowplot’, ‘coxme’, ‘dplyr’, ‘emmeans’, ‘FSA’, ‘ggplot2’, ‘ggsurvfit’, ‘lme4’, ‘lmerTest’, ‘patchwork’, ‘pbkrtest’, ‘rms’, and ‘survival’
Development.Time.R.Script.R
This is the R script for analysing the pupal development time data.
Dry.Weight.R.Script.R
This is the R script for analysing the larval dry weight data.
Fat.Content.R.Script.R
This is the R script for analysing the larval fat content data.
Fecundity.R.Script.R
This is the R script for analysing the female fecundity data.
Pupal.Viability.R.Script.R
This is the R script for analysing the pupal viability data.
Starvation.Resistance.R.Script.R
This is the R script for analysing the starvation resistance data.
Temperature.R.Script.R
This is the R script for analysing the larval substrate temperature data.
Weight-Length.R.Script.R
This is the R script for analysing the weight-to-length data.
Figure.2.R.Script.R
This is the R script to create figure 2.
Figure.3.R.Script.R
This is the R script to create figure 3.
Figure.4.R.Script.R
This is the R script to create figure 4.
