These are exemples of the R and Python scripts used in the article "Large‐scale genetic panmixia in the blue shark (Prionace glauca): A single worldwide population, or a genetic lag‐time effect of the “grey zone” of differentiation?".
First, generate data with the python files (grey_zone.py or bottleneck.py)
Second, load plotdegrad.r
Then, use graph_gz.r to generate plots
With the adjustments necessary to your data.
email: [email protected]
Please, do not use (with or witout modifications) without citing SimuPop/R and the original article.