Data from: The role of priority access to fruit resources by Drosophila suzukii larvae in interspecific competition with Drosophila melanogaster
Data files
Sep 23, 2026 version files 53.55 KB
-
1Core_STAN_larvae_chen.R
14.07 KB
-
2Fitting_STAN_model.R
2.34 KB
-
3Caldifference.R
4.03 KB
-
4Main_data_analyses_larvae.R
15.10 KB
-
larvae_chen.csv
11.87 KB
-
oviposition_preference.csv
2.67 KB
-
README.md
3.47 KB
Abstract
Drosophila suzukii is a globally invasive fruit pest whose serrated ovipositor enables females to exploit fresh fruit earlier than many saprophagous drosophilids. However, whether this temporal advantage can be translated into a competitive advantage during subsequent larval development remains unclear. Here, we examined oviposition preferences of D. suzukii and D. melanogaster on intact and damaged blueberries and experimentally manipulated the priority access of D. suzukii larvae to artificial medium by introducing them 0, 3, 7, or 10 days before D. melanogaster. Competitive interactions were quantified using a Bayesian Beverton-Holt model and interpreted within a modern coexistence-theory framework. Drosophila suzukii preferentially oviposited on intact blueberries, whereas D. melanogaster oviposition was largely restricted to damaged fruit, providing D. suzukii offspring with earlier access to fruit resources. However, stable coexistence between the two species received little posterior support across all priority treatments. Competitive outcomes varied non-monotonically with priority duration: D. suzukii had a relatively high probability of winning under the 0- and 7-day treatments, whereas priority effects dominated under the 3- and 10-day treatments. These results demonstrate that earlier access to resources does not necessarily translate into progressively stronger competitive superiority as priority duration increases. Instead, the competitive consequences may also be associated with the microbial environment of the medium and the developmental stages of the two Drosophila species. Although our findings suggest that the trait-mediated temporal advantage conferred by the serrated ovipositor can contribute to the establishment and persistence of D. suzukii, future studies are needed to further investigate the potential mechanisms through which other factors influence competitive outcomes.
Dataset DOI: 10.5061/dryad.mw6m906b5
Description of the data and file structure
Our dataset contains six files. Among them, larvae_chen.csv and oviposition_preference.csv are experimental data files, while 1Core_STAN_larvae_chen.R, 2Fitting_STAN_model.R, 3Caldifference.R, and 4Main_data_analyses_larvae.R are R code files.
Files and variables
File: oviposition_preference.csv
Description: This file contains the numbers of eggs laid by D. suzukii and D. melanogaster under different rearing conditions and different ratios of intact to damaged blueberries.
variables
- rearing type
- DS: D. suzukii single rearing,
- DM: D. melanogaster single rearing,
- DSC:D. suzukii combined rearing,
- DMC:D. melanogaster combined rearing
- ratios of intact and damaged(e.g. 3I1D: three intact blueberries and one damaged blueberries);
- number of replicates
- fruit condition: intact blueberries or damaged blueberries
- number of eggs
File: larvae_cheN.csv
Description: This file contains the numbers of emerged adults of D. suzukii and D. melanogaster at different relative larval densities, with D. suzukii larvae given access to the culture medium 0, 3, 7, or 10 days earlier than D. melanogaster larvae.
variables:
- DS_Nt: Number of emerged adult D. suzukii;
- DM_Nt: Number of emerged adult D. melanogaster;
- Type: (Sp1:D. suzukii, Sp2: D. melanogaster);
- Treatments: (zerodays,threedays,sevendays and tendays indicate that D. suzukii larvae were given access to the culture medium 0, 3, 7, and 10 days earlier than D. melanogaster larvae, respectively);
- DS_0: Initial D. suzukii larval density;
- DM_0: Initial D. melanogaster larval density;
- i & j: These two lowercase letters are used to denote the two species in parameter calculations;
- ObsCount: number of emerged adults
File: 1Core STAN_larvae_chen.R
Description: This file contains the code used to construct the Stan model.
File: 2Fitting STAN model.R
Description: This file contains the code used to fit the hierarchical Stan models.
File: 3Caldifference.R
Description: This file contains the code used to calculate niche differences and fitness differences between D. suzukii and D. melanogaster larvae.
File: 4Main data analyses_larvae.R
Description: This file contains the code used to determine whether the two Drosophila species can coexist and to generate Figures 1–3 in the manuscript.
Code/software
All scripts included in 1Core_STAN_larvae_chen.R, 2Fitting_STAN_model.R, 3Caldifference.R, and 4Main_data_analyses_larvae.R should be run using R version 4.5.1. And these files should be run sequentially according to the numbers at the beginning of their filenames.
The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64
larvae_chen.csv and oviposition_preference.csv can be opened and viewed using Microsoft Excel.
Access information
Other publicly accessible locations of the data:
- None
Data was derived from the following sources:
- All model-fitting procedures were implemented by Yongzhuo Chen.
