Code snippets to calculate genetic differentiation in R. See posting at: XXXX