# NOT RUN {
data(vcfR_example)
myPops <- as.factor(rep(c('a','b'), each = 9))
myDiff <- genetic_diff(vcf, myPops, method = "nei")
colMeans(myDiff[,c(3:8,11)], na.rm = TRUE)
hist(myDiff$Gprimest, xlab = expression(italic("G'"["ST"])),
col='skyblue', breaks = seq(0, 1, by = 0.01))
# }
Run the code above in your browser using DataCamp Workspace