Skip to main content
Dryad

Data from: Recovery from infection is more likely to favor the evolution of migration than social escape from infection

Cite this dataset

Shaw, Allison; Binning, Sandra (2024). Data from: Recovery from infection is more likely to favor the evolution of migration than social escape from infection [Dataset]. Dryad. https://doi.org/10.5061/dryad.000000014

Abstract

Pathogen and parasite infections are increasingly recognized as powerful drivers of animal movement, including migration. Yet, infection-related migration benefits can result from a combination of environmental and/or social conditions, which can be difficult to disentangle. Here, we focus on two infection-related mechanisms that can favor migration: moving to escape versus recover from infection. By directly comparing the evolution of migration in response to each mechanism, we can evaluate the likely importance of changing abiotic conditions (linked to migratory recovery) with changing social conditions (linked to migratory escape) in terms of infection-driven migration. We built a mathematical model and analyzed it using numerically simulated adaptive dynamics to determine when migration should evolve for each migratory recovery and social migratory escape. We found that a higher fraction of the population migrated under migratory recovery than under social migratory escape. We also found that two distinct migratory strategies (e.g., some individuals always migrate and others only occasionally migrate) sometimes coexisted within populations with social migratory escape, but never with migratory recovery. Our results suggest that migratory recovery is more likely to promote the evolution of migratory behavior, rather than escape from infected conspecifics (social migratory escape).

README: Recovery from infection is more likely to favor the evolution of migration than social escape from infection

https://doi.org/10.5061/dryad.000000014

By: Allison K. Shaw and Sandra A. Binning

Published in: Journal of Animal Ecology

Contact ashaw@umn.edu for assistance.

Description of the data and file structure

The following files are included:

(1) Folder (.zip) "files_plotfigures"

* Contains Matlab code (.m files) and data (.mat files) plotting the figures.

* Contents:

> make_fig2.m: code to plot Figure 2

> make_fig3.m: code to plot Figure 3

> make_fig4.m: code to plot Figure 4

> make_fig5.m: code to plot Figure 5

> make_figs_supp.m: code to plot figures S1-S9

results: folder with compiled output files (.mat) for simulations

(2) Folder (.zip) "files_runcode"

* Contains Matlab code (.m files) for running model simulations.

> run_parameter_sweep.m: runs parameter sweeps for

(i) migratory escape

(ii) migratory recovery

(iii) migratory escape and recovery

calls do_set_model_parameters.m and run_SIS_migration.m

each single simulation creates a .mat file named according to parameters:

output_ttype=xx_rectype=xx_betaa=xx_gammab=xx_cm=xx-xx_ci=xx-xx_T1=xx.mat

> do_set_model_parameters.m: sets all life history and transmission model parameters

> run_SIS_migration.m: main function, runs simulation of adaptive dynamics

calls do_withinyear_dynamics_1strain.m, do_strain_mutation.m and do_withinyear_dynamics_multstrain

> do_withinyear_dynamics_1strain.m: simulates within-year dynamics for a population with a single

migration strain

calls do_dynamics_nobreeding.m and do_dynamics_withbreeding.m

> do_strain_mutation.m: mutates population slightly

> do_withinyear_dynamics_multstrain.m: simulates within-year dynamics for a population with

multiple migration strains

calls do_dynamics_nobreeding.m and do_dynamics_withbreeding.m

> do_dynamics_nobreeding.m: simulates transmission and survival dynamics for a single season

> do_dynamics_withbreeding.m: simulates transmission, survival and breeding dynamics for a single

season

> compile_paramsweep.m: takes the output files from run_parameter_sweep.m, plots each

one,creating a .jpg file named according to parameters:

resultfig_ttype=xx_rectype=xx_betaa=xx_gammab=xx_cm=xx-xx_ci=xx-xx_T1=xx.jpg

This script also compiles the single simulation results into mat files that are

grouped for plottingnamed according to parameters:

results_ttype=xx_rec=xx_xx_xx_cnm=xx_cni=xx.mat

results_ttype=xx_rec=xx_xx_xx_cnm=xx_csigi=xx.mat

results_ttype=xx_rec=xx_xx_xx_csigm=xx_cni=xx.mat

results_ttype=xx_rec=xx_xx_xx_csigm=xx_csigi=xx.mat

matfile_ttype=xx_rectype=xx_betaa=xx_gammab=xx.mat

Usage notes

files_runcode.zip: This zipped folder contains Matlab code (.m files) for running model simulations.

files_plotfigures.zip: This zipped folder contains Matlab code (.m files) and data (.mat files) for plotting the figures.

Funding

National Science Foundation, Award: DEB-1654609

Natural Sciences and Engineering Research Council

Canada Research Chairs