R script: genetic differentiation

R script used to analyse genetic differentiation. Analyses include global and pairwise Fst and Jost's D, calculating least-cost distances between sampling sites using Marmap, and Mantel tests.