PCAs from SNPs

Download

Unzip and navigate to directory.

Open pca_from_snps.R and execute each line

 

The data come from the coral species Montrastraea cavernosa. They were taken from three reefs all no more than 10 Km apart: A nearshore reef (labeled "N"), an offshore reef (labeled "O"), and a deep reef (labeled "D").

What does the PCA suggest about the three populations?