Published January 9, 2020 | Version v1
Dataset Open

Data and code from: Phenotypic memory drives population growth and extinction risk in a noisy environment

  • 1. Centre d'Ecologie Fonctionnelle et Evolutive

Description

Random environmental fluctuations pose major threats to wild populations. As patterns of environmental noise are themselves altered by global change, there is growing need to identify general mechanisms underlying their effects on population dynamics. This notably requires understanding and predicting population responses to the color of environmental noise, i.e. its temporal autocorrelation pattern. Here, we show experimentally that environmental autocorrelation has a large influence on population dynamics and extinction rates, which can be predicted accurately provided that a memory of past environment is accounted for. We exposed near to 1000 lines of the microalgae Dunaliella salina to randomly fluctuating salinity, with autocorrelation ranging from negative to highly positive. We found lower population growth, and twice as many extinctions, under lower autocorrelation. These responses closely matched predictions based on a tolerance curve with environmental memory, showing that non-genetic inheritance can be a major driver of population dynamics in randomly fluctuating environments.  

Notes

Users can perform the analysis by running the R script (PDFE_analysis.R) after the installation of all packages mentioned in the preamble, then running the Mathematica notebook (moments_predicted.nb) 

This publication contains: 


- 1 dataset with population sizes:  

population_dynamics.csv 

- 1 dataset with glycerol concentrations: 

data_cinetique.csv 

- 5 C++ scripts compiled and run with the R TMB package: 

* density_dependence_cst.cpp : compute the negative loglikelihood of the dynamics of lines maintained in constant environments. This script estimates the growth rates and carrying capacities (constant within but varying between treatment genetic background x constant salinity). 

* logistic_data_K_unkownS_normal_autocorr_all_genotype.cpp : compute the negative loglikelihood for population dynamics of lines under stochastic environment, assuming a normal autocorrelated distribution of the growth rate with parameters (mean, standard deviation and autocorrelation) that depend on the genetic background and the autocorrelation treatment 

* logistic_data_K_unkownS_gamma_rho_all_genotype.cpp : compute the negative loglikelihood for population dynamics of lines under stochastic environment, assuming a reverse gamma distribution of the growth rate with parameters (mean, standard deviation and autocorrelation) that depend on the genetic background and the autocorrelation treatment 

* logistic_data_K: compute the negative loglikelihood for population dynamics of lines under stochastic environment and estimate parameters for the bivariate tolerance curves (parameters depend on the genetic background) 

* logistic_data_K_univariate: compute the negative loglikelihood for population dynamics of lines under stochastic environment and estimate parameters for the univariate tolerance curves (parameters depend on the genetic background) 

- 1 R script: 

PDFE_analysis.R. Performs the population dynamics analysis. Read the data, performs the survival analysis, analyses salinity effect on growth rate and carrying capacity in the constant salinity lines, analyses r distribution and fit bivariate and univariate tolerance curves in the stochastic lines. Code used for the plots is also present jointly with the analysis of the moments of N and r (estimation by treatment + regression). 

- A Mathematica notebook: 

moments_predicted.nb: compute the predicted mean, variance, skewness and autocorrelation of the growth rate given the bivariate and univariate tolerance curve parameters and the distribution of salinity in the different autocorrelation regime. 

Funding provided by: European Research Council
Crossref Funder Registry ID: http://dx.doi.org/10.13039/501100000781
Award Number: Starting Grant 678140 FluctEvol

Files

data_cinetique.csv

Files (4.7 MB)

Name Size Download all
md5:b28f320ecec4fb7ecd140ab5ecf15d50
10.3 kB Preview Download
md5:fc5a0ce15c662bd9b505861db32ddebf
3.2 kB Download
md5:f72f30f9ae431561f710d7af6f172045
1.3 MB Download
md5:513794dfb1055c3916880969e4323d50
3.4 kB Download
md5:db1685b44f6b38cfc6ecdbb2701c4bf0
3.0 kB Download
md5:69a157a46602fb9623389aa855a21913
3.2 kB Download
md5:ad8c2f626417fb95bdeccec34b8c6fa6
3.1 kB Download
md5:2502e1d757493a539b3a5271f7e0eb97
122.6 kB Download
md5:8b9ee52b7ee733cb0efbb143d7d7366a
3.2 MB Preview Download
md5:a009e1b00ab5a4e0fc1edbb2e9171b29
2.7 kB Preview Download