Data and code from: Parental social environment has no effect on offspring development in the dung beetle: A test of adult sex ratio effects
Data files
Jun 16, 2026 version files 130.69 KB
-
brood_balls_weight.csv
5.48 KB
-
contest_and_courtship_frequency.csv
1.38 KB
-
development_speed_and_emerging_weight_drawing.csv
84.65 KB
-
development_speed_and_emerging_weight.csv
9.53 KB
-
MANOVA.csv
4.50 KB
-
R_code.r
14.77 KB
-
README.md
10.38 KB
Abstract
The adult sex ratio (ASR) is a key demographic parameter that shapes sexual selection and social interactions. While ASR variation drives profound behavioural plasticity within a generation, it remains unclear whether parental experience of skewed ASRs influences offspring development via transgenerational plasticity (TGP), and if so, which of the two core non-genetic pathways: pre-zygotic germline-mediated information transfer and post-zygotic parental investment, predominates. To disentangle these mechanistically distinct pathways, we conducted a controlled egg-transplantation experiment in the dung beetle Onthophagus taurus. We exposed parental beetles to female-biased, unbiased, and male-biased social environments, first confirming that our ASR manipulations generated the predicted gradients of social stress by quantifying contest and courtship behaviours. We then transplanted eggs from naturally produced brood balls across different ASR treatments into standardized artificial brood balls to strictly isolate germline-mediated TGP effects, while weighing original dried brood ball mass to independently assess parental investment. Our results revealed a striking dissociation between parental behavioural responses and intergenerational outcomes. ASR strongly modulated adult social interactions: male-biased treatments exhibited the highest contest intensity, whereas female-biased treatments displayed significantly higher courtship frequency than both unbiased and male-biased groups. Despite these pronounced parental adjustments, parental ASR experience had no significant effect on any measured offspring developmental trait, including developmental speed, emergence weight, and stage-specific developmental duration. Concurrently, parental investment (dried brood ball mass) did not differ across ASR treatments. These findings demonstrate that ASR-induced social pressures do not propagate to offspring metamorphic development via either core TGP pathway within a single generation, suggesting that offspring development is strongly canalized against parental social fluctuations. Future research should disentangle cryptic non-nutritional transmission pathways (e.g., microbiome inoculation) and employ gametic epigenetic assays to determine if social experiences leave molecular traces under alternative ecological contexts or longer evolutionary timescales.
Dataset DOI: 10.5061/dryad.1g1jwsvbk
Description of the data and file structure
Title of the dataset:"Parental social environment has no effect on offspring development in the dung beetle: A test of adult sex ratio effects"
Dataset description
We have deposited the following raw data files and analysis code in this dataset:
Files and variables
File: brood_balls_weight.csv
Description: For this dataset, we quantified parental investment allocated to offspring as the actual dry mass of brood balls. Brood balls originating from different ASR treatments (female-biased, unbiased, and male-biased) were carefully cleaned of adhering soil and fecal impurities, oven-dried to a constant mass at 60 °C for 48 hours, and then precisely weighed. We compared the magnitude of parental investment across ASR treatments to test whether parents adjust their investment strategies in response to social stress imposed by skewed ASR conditions.
Variables
- obs: Generic data ID for data management and sorting only; no substantive experimental or biological value, not used in statistical analyses.
- treatment: Categorical variable for ASR treatment, with 3 levels: female-biased (FB), unbiased (UB), male-biased (MB).
- group: Unique ID for each independent experimental replicate.
- id: Unique ID for each individual brood ball, corresponding to the offspring used in subsequent developmental assays.
- brood_balls_weight: Dry mass of each individual brood ball
File: contest_and_courtship_frequency.csv
Description: To verify that social environments with distinct adult sex ratios (ASRs) exert measurable effects on individual contest behaviours and male courtship behaviours within the population, we established three experimental ASR treatments: female-biased, unbiased, and male-biased. We focused our comparisons on the frequencies of contest and courtship events recorded per observation arena between the female-biased and male-biased conditions. These data were used to quantify the intensity of parental contest and courtship behaviours across different ASR regimes, and to confirm that population ASR is a key determinant shaping social and sexual interaction dynamics in this species.
Variables
- treatment: Categorical variable for ASR treatment, with 3 levels: female-biased (FB), unbiased (UB), male-biased (MB).
- group: Unique ID for each independent experimental replicate.
- behavior_type: Categorical variable for behavioural event type: contest behaviour courtship behaviour.
- times: Total count of behavioural events
File: MANOVA.csv
Description: To examine whether parental exposure to ASR-mediated social stress induces significant alterations in the duration of distinct offspring developmental stages, we tracked the developmental progression of larvae from all three ASR treatment groups under standardized common-garden rearing conditions. For each individual offspring, we quantified the duration of the larval stage, pupal stage, and total developmental period from hatching to adult emergence. We then fitted a multivariate analysis of variance (MANOVA) model to these correlated developmental traits to assess the effects of parental ASR experience on offspring developmental timing.
Variables
- obs: Generic data ID for data management and sorting only; no substantive experimental or biological value, not used in statistical analyses.
- treatment: Categorical variable for ASR treatment, with 3 levels: female-biased (FB), unbiased (UB), male-biased (MB).
- group: Unique ID for each independent experimental replicate.
- id: Unique ID for each individual offspring.
- sex: Categorical variable for offspring sex: male / female.
- stage_larvae: Duration of the larval stage, from hatching to pupation.
- stage_pupa: Duration of the pupal stage, from pupation to adult emergence.
- emerging_time: Total developmental duration from hatching to adult emergence, sum of larval and pupal stages.
File: development_speed_and_emerging_weight.csv
Description: To investigate whether parental exposure to ASR-mediated social stress modulates offspring metamorphic development, we longitudinally tracked the developmental trajectories of offspring derived from each of the three ASR treatment groups. First, we collected all brood balls produced by breeding populations under the different ASR regimes. We then individually transferred fertilized eggs from their original brood balls into standardized artificial brood balls, which provided highly uniform microenvironmental and nutritional conditions for all individuals across treatments. This common-garden rearing design eliminates confounding effects of variable parental provisioning, allowing us to isolate potential germline-mediated transgenerational effects of parental ASR experience on offspring development. We non-invasively opened the artificial brood balls at 48-hour intervals post-hatching to weigh each larva and record its developmental stage. This monitoring was repeated for every individual throughout the entire developmental period until adult emergence, when we also documented the sex of each newly emerged beetle.
Variables
- obs.: Sequential observation ID for data sorting only; no substantive experimental value, not used in statistical analyses.
- treatment: Categorical variable for ASR treatment, with 3 levels: female-biased (FB), unbiased (UB), male-biased (MB).
- group: Unique ID for each independent experimental replicate.
- id: Unique ID for each individual offspring.
- sex: Categorical variable for offspring sex: male / female.
- summit_weight: Maximum body mass attained by each offspring during development.
- days_reaching_summit: Number of days from hatching to attaining peak body mass.
- weight_of_emerging_beetle: Body mass of each offspring measured immediately after adult emergence.
- body_size_of_emerging_beetles: Body size of newly emerged adult offspring.
- horn_size_of_emerging_beetle: Horn size of newly emerged adult offspring.
- stage_larvae: Duration of the larval stage, from hatching to pupation.
- stage_pupa: Duration of the pupal stage, from pupation to adult emergence.
- emerging_time:Total developmental duration from hatching to adult emergence, sum of larval and pupal stages.
- speed: Offspring developmental growth rate, calculated as peak body mass divided by days to peak mass.
File: development_speed_and_emerging_weight_drawing.csv
Description: This file serves solely as supporting material for figure generation and is not intended for formal statistical analyses. It contains the same core dataset as the main developmental file, formatted for streamlined data visualization.
Variables
- obs: Sequential observation ID for data visualization and sorting only; no substantive analytical value.
- treatment: Categorical variable for ASR treatment, with 3 levels: female-biased (FB), unbiased (UB), male-biased (MB).
- group: Unique ID for each independent experimental replicate.
- id: Unique ID for each individual offspring.
- Sex: Categorical variable for offspring sex: male / female.
- days: Measurement day, calculated as days post larval hatching.
- stage:Categorical variable for offspring developmental stage, with 3 levels: larval stage, pupal stage, emerging stage.
- weight: Fresh body mass of the individual at each measurement point.
File: R_code.r
Description: This file contains the complete R code used to conduct all statistical analyses reported in the associated research article. All code was developed and validated in R version 4.3.1, consistent with the analytical methods described in the manuscript.
The script includes code for loading and cleaning raw datasets, fitting linear mixed-effects models (LMMs), conducting post-hoc multiple comparisons, and producing all result figures. All analyses were implemented in R v4.3.1, with dependencies including lme4, lmerTest, DHARMa, emmeans, and multcomp.
For detailed documentation of the analytical procedures, model specifications, and statistical frameworks, please refer to the Data analysis section of our paper.
Code/software
R is required to run "R code.r"; the script was created using version 4.3.1 (R Core Team, 2023). Line-level annotations are added across the entire script, organized to correspond to the four major components of the analytical workflow: 1) loading dependent packages, 2) data loading and preprocessing, 3) statistical analysis procedures, and 4) figure plotting and output.
Statistical Analyses Overview
All analyses were conducted in R v4.3.1 using linear mixed-effects models (LMMs) fitted via the lme4 package, with fixed-effect P-values calculated by lmerTest and model assumptions (residual normality, homoscedasticity) verified via DHARMa simulation diagnostics. Model selection followed the Akaike Information Criterion (AIC): non-significant interaction terms were removed for simplification while all main effects were retained. Experimental replicate (group) and/or individual offspring ID were included as random intercepts to account for the hierarchical data structure; post hoc pairwise comparisons were run with emmeans and adjusted for multiple testing via multcomp.
Behavioural frequency analysis
File: contest_and_courtship_frequency.csv
LMMs tested effects of ASR treatment, behaviour type, and their interaction on behavioural event counts, with experimental group as a random intercept.
Brood ball mass analysis
File: brood_balls_weight.csv
An LMM compared dry brood ball mass across ASR treatments, with experimental group as a random intercept.
Offspring developmental analysis
Files: development_speed_and_emerging_weight.csv, MANOVA.csv
Growth & emergence traits: Separate LMMs assessed effects of ASR treatment and sex on developmental speed and emergence body mass, with experimental group as a random effect.
Stage-specific duration: Long-format LMM included ASR treatment, sex, developmental stage, and their interactions as fixed effects, with group and individual ID as random effects to control for repeated measures.
This study examines whether adult sex ratio (ASR)-mediated parental social stress alters offspring developmental performance in the dung beetle Onthophagus taurus. We established three experimental ASR treatments (female-biased, unbiased, and male-biased) to generate divergent social contexts for breeding adults, and adopted an egg transplantation approach with standardized artificial brood balls to isolate germline-mediated transgenerational effects from variation in parental nutritional provisioning. We assessed parental contest and courtship behaviour, parental investment (dry mass of brood balls), and a suite of offspring developmental traits including developmental speed, stage-specific duration, and adult emergence mass. Our findings demonstrate that despite significant effects of ASR on parental social interaction dynamics, parental ASR experience does not translate into detectable changes in offspring developmental trajectories under common-garden rearing conditions.
