SNP data preprocessing, population structure analysis, SNP selection, phenotype prediction, and data visualization