R code for mapping population structure data