A collection of R code for dealing with SNP data and analyses