Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 2.99 KB

README.md

File metadata and controls

41 lines (27 loc) · 2.99 KB

DFTD Metapopulation simulations

Date created: 26/02/2021

Author: Rowan Durrant - Department of Biosciences, Swansea University

Contact me at: [email protected]

Paper now available here!

Data generating scripts:

Dependencies:

Main simulation scripts:

  • main_sim.R : Base version of the metapopulation model code with density-independent dispersal. Runs a devil metapopulation system for 1820 weekly time steps, introducing DFTD at week 520, and outputs an .rda file containing time series of population size, no. individuals infected, etc. for each local population.
  • isolate_degree.R, isolate_betweenness.R & isolate_random.R : As above, but isolating patches at t=1040 based on their degree, their betweenness or at random, respectively. Also includes a function to calculate a measure of genetic diversity.
  • isolate_degree_no_dftd.R, isolate_betweenness_no_dftd.R & isolate_random_no_dftd.R : As above, but without DFTD being introduced to the system.

Dependencies:

Data processing scripts:

Dependencies: