We will now simulate population structure. Let's start with an island model and then create a one-dimensional stepping-stone model. We will study FST behavior on these models and distinguish between deme-level statistics and meta-population level statistics. Strictly speaking, we will simulate fragmentation models by splitting into islands or stepping-stones.
Simulating population structure using island and stepping-stone models
Getting ready
Read the first recipe (Introducing forward-time simulations) as it introduces the basic programming framework. If you are using the Notebook files, the content is in Chapter05/Pop_Structure.ipynb.