DOI: 10.5061/dryad.gxd2547xv
title: Data and code from: Seasonal timing of ecosystem linkage mediates life-history variation in a salmonid fish population

description: Life-history variation can contribute to long-term persistence of
 populations; however, it remains unclear which environmental factors drive
 life-history variation within a population. Seasonally recurring resource
 subsidies are common in nature and may influence variations in recipient
 consumers’ life-history traits. In this study, we experimentally
 demonstrated that terrestrial invertebrate subsidies occurring early in
 the growing season facilitated consumer individuals to adopt fast growth.
 In contrast, fewer consumer individuals adopted fast growth when subsidies
 occurred late in the growing season. Consumer individuals that adopted
 fast growth matured early at age-1, suggesting that the observed variation
 in life-history emerged along with a fast–slow life-history continuum. The
 estimated survival probability was lower in consumer individuals from the
 faster-growth cluster in the no-supply treatment, suggesting a
 growth–survival trade-off. However, the growth–survival trade-off became
 unclear in the early-supply treatment and even reversed in the late-supply
 treatment. As a result, the frequency of consumer individuals maturing at
 age-1 was higher in the early-supply treatment than in the late-supply
 treatment and no-supply treatment, implying a higher short-term population
 growth with the early subsidies. Our findings highlight that seasonal
 ecosystem linkages through resource subsidies help us understand how
 life-history variation can be maintained within a population at the
 landscape scale.
description: # Seasonal timing of ecosystem linkage mediates life-history variation in
 a salmonid fish population #### Description of the raw data and file
 structure **Data_S1: Information for all individuals** No: Row number id:
 ID for each fish year: Year of captured fish month: Month of captured fish
 day: Date of captured fish treatment: Experimental treatment section:
 Stream section (i.e., replicate) landmark: Captured location of each fish
 fork length_mm: Fork length of fish (unit: mm) weight_g: Weight of fish
 (unit: g) mature: Maturation status of fish. 1: matured, 0: immatured, nd:
 no data cohort: Group of birth year phenotypic sex: Phenotypic sex of
 fish. nd: no data genotypic sex: Genotypic sex of fish identified by a
 sex-specific molecular marker. nd: no data sex_merged: Merged data of
 phenotypic and genotypic sexes. nd: no data **Data_S2: Density of fish**
 no: Row number year: Year of captured fish month: Month of captured fish
 section: Stream section (i.e., replicate) age: Age groups of captured
 fish. 0: age-0, 1+: age-1 and older estimated density_fish･m−2: Density of
 fish of each section estimated by model zippen in the program Capture
 (unit: fish･m−2) 95% lower limit of CI_fish･m−2: Lower limit of the 95%
 confidence interval of the estimated density (unit: fish･m−2) 95% upper
 limit of CI_fish･m−2: Upper limit of the 95% confidence interval of the
 estimated density (unit: fish･m−2) **Data_S3: Natural input rate of
 terrestrial invertebrates** no: Row number year: Year of sampling month:
 Month of sampling period: Experimental period treatment: Experimental
 treatment section: Stream section (i.e., replicate) terrestrial
 invertebrates_mg･m−2 day−1: Input rate of terrestrial invertebrate in each
 section (unit: mg･m−2 day−1) **Data_S4: Total mass of invertebrate
 consumption** no: Row number year: Year of captured fish period:
 Experimental period treatment: Experimental treatment section: Stream
 section (i.e., replicate) fork length_mm: Fork length of fish (unit: mm)
 mealworms consumption_g: Dry mass of mealworms consumption of each fish
 (unit: g) terrestrial or aquatic invertebrates consumption_g: Dry mass of
 terrestrial or aquatic invertebrates (excluding mealworms) consumption of
 each fish (unit: g) total mass of invertebrates consumption_g: Total dry
 mass of all invertebrates consumption of each fish (unit: g) ####
 **Description of the formatted data** **Data_S5: Information of growth
 clusters (k=3) for all individuals** first column (blank): Row number id:
 ID for each fish cluster: Growth cluster (k=3) **Data_S6: Data for
 survival estimation** first column (blank): Row number id: ID for each
 fish no: Row number in Data_S1 year: Year of captured fish month: Month of
 captured fish day: Date of captured fish treatment: Experimental treatment
 section: Stream section (i.e., replicate) landmark: Captured location of
 each fish fork length_mm: Fork length of fish (unit: mm) weight_g: Weight
 of fish (unit: g) mature: Maturation status of fish. 1: matured, 0:
 immatured, nd: no data cohort: Group of birth year phenotypic sex:
 Phenotypic sex of fish. nd: no data genotypic sex: Genotypic sex of fish
 identified by a sex-specific molecular marker. nd: no data sex_merged:
 Merged data of phenotypic and genotypic sexes. nd: no data distance:
 Distance from the recapture section to the downstream end of the study
 reach (unit: m) cluster: Growth cluster (k=3) **Data_S7: Data for analysis
 of life-history variation** first column (blank): Row number X: Row number
 in Data_S5 id: ID for each fish cluster: Growth cluster (k=3) treatment:
 Experimental treatment section: Stream section (i.e., replicate) mature:
 Maturation status of fish. 1: matured, 0: immatured sex_merged: Merged
 data of phenotypic and genotypic sexes. nd: no data yearmonth: year and
 month of captured fish #### **Description of the R scripts**
 Script_01_SpecificGrowthRate: Analysis of population-mean growth rate
 Script_02_FiniteMixtureRegressionModel: Run the finite mixture model and
 estimation growth trajectories Script_03_DataFormatting: Format and create
 of Data_S5−7 Script_04_AssociationGrowthMaturation: Test the association
 of growth clusters with maturation at age-1
 Script_05_LifehistoryVariation: Analysis of life-history variation using
 log-linear models Script_06_SexdependentLifehistory: Test the
 sex-dependence in life-history variation Script_07_DensitydependentEffect:
 Test the density-dependent effect on growth rate
 Script_08_NaturalTerrestrialInvertebrate: Natural input rates of
 terrestrial invertebrates in the study reaches Script_09_ConsumptionRate:
 Test the effect of experimental subsidy on cunsumption rate #### Other
 data and code The data and code used for estimating survival probability
 is available on GitHub
 ([https://github.com/aterui/public-proj_wakayama-exp](https://github.com/aterui/public-proj_wakayama-exp)). #### Sharing/Access information Please contact the corresponding author (Rui Ueda: [r.ueda@ecology.kyoto-u.ac.jp](mailto:r.ueda@ecology.kyoto-u.ac.jp)) if you are interested in using the data.