Example data for SPA with continuous and dichotomous traits and an environmental factor.
SPA_example contains the following objects:
a numeric genotype matrix of 1000 individuals and 20 SNPs. Each row represents a different individual and each column represents a different SNP marker.
a numeric vector of continuous phenotypes.
a numeric vector of dichotomous phenotypes.
a numeric vector of an environmental factor.