Model code and dataset: Mating Systems and Evolutionary Rescue

Fuente: Zenodo
Salvato in:
Dettagli Bibliografici
Autori principali: Porwal, Neelam, Parrett, Jonathan, Rogers, Franky, Radwan, Jacek, Knell, Robert
Natura: Recurso digital
Lingua:inglese
Pubblicazione: Zenodo 2026
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866901928056717312
author Porwal, Neelam
Parrett, Jonathan
Rogers, Franky
Radwan, Jacek
Knell, Robert
author_facet Porwal, Neelam
Parrett, Jonathan
Rogers, Franky
Radwan, Jacek
Knell, Robert
contents <p># Mating systems and evolutionary rescue</p> <p>The dataset is from simulation modelling of diverse mating systems with varying direction of mate choice and their influence on adaptation rates, heterozygosity, resilience and the likelihood of evolutionary rescue under deteriorating environment. The code for the model and for running the model and visualising the results are archived. The simulation output is also archived.</p> <p># Two data files were generated to produce the figures for the main figures and the supplemenatry materials</p> <p>**heterozygosity_no_change_fig1.xlsx** includes the simulation output generated to plot mean heterozygosity accross replicates and over time for 1000 generations under stable environment for all mating systems (figure 1)</p> <p>**extinction_env_change.csv** contains the data for all mating systems under varying carrying capacities, mismatch penalties, homozygosity penalties and rates of directional change<br>1) to calculate resilience (figure 3) i.e. which of the replicate populations went extinct under different combination of parameters<br>2) data for population size dynamics and median population mismatch and heterozygosity at every time step (figure S1, S2)<br>3) data for time at which the replicate populations went extinct if they went extinct (figure S3)</p> <p>BOTH DATASETS HAVE THE FOLLOWING VARIABLES</p> <p>*mating_type*    Mating system and direction of mate choice<br>*extinct*    binary variable, whether the population became extinct (1 = extinct, 0=persists)<br>*extinction.t* timestep at which extinction takes place <br>*mating_system* monogamy or polygyny<br>*parental_care* bi-parental mismatch & heterozygosity estimating the number of offspring if TRUE (mutual choice monogamy). Only female mismatch & heterozygosity if FALSE    <br>*beta.m* male preference strength likelihood to choose the best female in the group    <br>*beta.f* female preference strength likelihood to choose the best male in the group<br>*cost.m* cost of the sexual signal trait in males    <br>*cost.f* cost of the sexual signal trait in females    <br>*alpha.m* how strongly environment scales with sexual trait in males<br>*alpha.f* how strongly environment scales with sexual trait in males<br>*directional.rate* strength of directional environmental change - mean change per timestep, if zero then more or less stable environment    <br>*mismatch.penalty* scaling factor for penalizing high mismatch<br>*inbreeding.penalty* scaling factor for penalizing low heterozygosity</p> <p>Columns of below mentioned data for each timestep<br>*pop_* population size<br>*males_* no. of males<br>*females_* no. of females<br>*mean_heterozygosity_* mean population heterozygosity<br>*median_heterozygosity_* median population heterozygosity<br>*eff_pop_* effective population size<br>*env_* environmental value<br>*mean_phenotype_* mean population phenotypic trait value or adaptive value<br>*median_phenotype_* median population phenotypic trait value or adaptive value</p> <p>Additionally, **heterozygosity_no_change_fig1.xlsx** contains<br>**rep** replicate number</p> <p>Two R scripts are included:</p> <p>**Mating_system_model.R** this is the code for the model itself.</p> <p>**MSS_simruns_and_analysis.R** this script has code for running the simulations and for visualizing the data.</p> <p>Both scripts were developed and run in R 4.5.2</p>
format Recurso digital
id zenodo_https___doi_org_10_5281_zenodo_19386579
institution Zenodo
language eng
publishDate 2026
publisher Zenodo
record_format zenodo
spellingShingle Model code and dataset: Mating Systems and Evolutionary Rescue
Porwal, Neelam
Parrett, Jonathan
Rogers, Franky
Radwan, Jacek
Knell, Robert
<p># Mating systems and evolutionary rescue</p> <p>The dataset is from simulation modelling of diverse mating systems with varying direction of mate choice and their influence on adaptation rates, heterozygosity, resilience and the likelihood of evolutionary rescue under deteriorating environment. The code for the model and for running the model and visualising the results are archived. The simulation output is also archived.</p> <p># Two data files were generated to produce the figures for the main figures and the supplemenatry materials</p> <p>**heterozygosity_no_change_fig1.xlsx** includes the simulation output generated to plot mean heterozygosity accross replicates and over time for 1000 generations under stable environment for all mating systems (figure 1)</p> <p>**extinction_env_change.csv** contains the data for all mating systems under varying carrying capacities, mismatch penalties, homozygosity penalties and rates of directional change<br>1) to calculate resilience (figure 3) i.e. which of the replicate populations went extinct under different combination of parameters<br>2) data for population size dynamics and median population mismatch and heterozygosity at every time step (figure S1, S2)<br>3) data for time at which the replicate populations went extinct if they went extinct (figure S3)</p> <p>BOTH DATASETS HAVE THE FOLLOWING VARIABLES</p> <p>*mating_type*    Mating system and direction of mate choice<br>*extinct*    binary variable, whether the population became extinct (1 = extinct, 0=persists)<br>*extinction.t* timestep at which extinction takes place <br>*mating_system* monogamy or polygyny<br>*parental_care* bi-parental mismatch & heterozygosity estimating the number of offspring if TRUE (mutual choice monogamy). Only female mismatch & heterozygosity if FALSE    <br>*beta.m* male preference strength likelihood to choose the best female in the group    <br>*beta.f* female preference strength likelihood to choose the best male in the group<br>*cost.m* cost of the sexual signal trait in males    <br>*cost.f* cost of the sexual signal trait in females    <br>*alpha.m* how strongly environment scales with sexual trait in males<br>*alpha.f* how strongly environment scales with sexual trait in males<br>*directional.rate* strength of directional environmental change - mean change per timestep, if zero then more or less stable environment    <br>*mismatch.penalty* scaling factor for penalizing high mismatch<br>*inbreeding.penalty* scaling factor for penalizing low heterozygosity</p> <p>Columns of below mentioned data for each timestep<br>*pop_* population size<br>*males_* no. of males<br>*females_* no. of females<br>*mean_heterozygosity_* mean population heterozygosity<br>*median_heterozygosity_* median population heterozygosity<br>*eff_pop_* effective population size<br>*env_* environmental value<br>*mean_phenotype_* mean population phenotypic trait value or adaptive value<br>*median_phenotype_* median population phenotypic trait value or adaptive value</p> <p>Additionally, **heterozygosity_no_change_fig1.xlsx** contains<br>**rep** replicate number</p> <p>Two R scripts are included:</p> <p>**Mating_system_model.R** this is the code for the model itself.</p> <p>**MSS_simruns_and_analysis.R** this script has code for running the simulations and for visualizing the data.</p> <p>Both scripts were developed and run in R 4.5.2</p>
title Model code and dataset: Mating Systems and Evolutionary Rescue
url https://doi.org/10.5281/zenodo.19386579