A primer for computational tools to analyze genetics of populations in R