DOI: 10.5061/dryad.5gb05
title: Data from: Predator perspective drives geographic variation in frequency-dependent polymorphism

description: Color polymorphism in natural populations can manifest as a striking
 patchwork of phenotypes in space, with neighboring populations
 characterized by dramatic differences in morph composition. These
 geographic mosaics can be challenging to explain in the absence of
 localized selection because they are unlikely to result from simple
 isolation-by-distance or clinal variation in selective regimes. To
 identify processes that can lead to the formation of geographic mosaics,
 we developed a simulation-based model to explore the influence of predator
 perspective, selection, migration, and genetic linkage of color loci on
 allele frequencies in polymorphic populations over space and time. Using
 simulated populations inspired by the biology of Heliconius longwing
 butterflies, Cepaea land snails, Oophaga poison frogs, and Sonora ground
 snakes, we found that the relative sizes of predator and prey home ranges
 can produce large differences in morph composition between neighboring
 populations under both positive and negative frequency-dependent
 selection. We also demonstrated the importance of the interaction of
 predator perspective with the type of frequency dependence and localized
 directional selection across migration and selection intensities. Our
 results show that regional-scale predation can promote the formation of
 phenotypic mosaics in prey species, without the need to invoke spatial
 variation in selective regimes. We suggest that predator behavior can play
 an important and underappreciated role in the formation and maintenance of
 geographic mosaics in polymorphic species.
description: simulation_resultsThe zip archive contains the results from our simulations used in this paper. The text files are the raw simulation results. The file names indicate the parameters used for the simulation. The naming convention is "(type of FDS)_("loc" or "reg" to indicate predator perspective)_(genetic architecture: "ul" for unlinked, "linked" for linked genes with equal morph fitness, and either "cep" or "hel" for directional selection with NFDS or PFDS respectively)." For example, "PFDS_reg_ul3.txt" contains simulation results for positive frequency dependent selection, regional predator perspective, and unlinked loci with equal base attack rate. The number indicates that this is the third simulation (of 10) at these parameter values. The columns of each text file are: 1) row number, 2) migration rate input parameter, 3) input parameter for the percentage of the population subject to frequency dependent selection, 4) predator perspective, 5) genetic architecture. Columns 6 through 14 are the number of individuals with a given genotype in population 1 in a given generation. Columns 15 through 23 are the number of individuals with a given genotype in population 2. There are 251 generations at each set of parameter values. The .csv files share the same naming conventions, and have comparisons of four metrics to describe population morph complement from the simulation results.simulation_codeThis is the R code for the simulations found in this paperFINAL_appendix_code.R