bcm-uga / pcadapt

Performing highly efficient genome scans for local adaptation with R package pcadapt v4
https://bcm-uga.github.io/pcadapt
39 stars 10 forks source link

Question about obtaining z-scores #42

Closed kfarleigh closed 4 years ago

kfarleigh commented 5 years ago

Hi, I had a quick question about how you calculate z-scores. Specifically, I am stuck conceptually how we regress the SNP with the principal components and was wondering if you could explain that for me. Thanks, Keaka

privefl commented 5 years ago

Z-scores are just the product of regressing PC scores by genotypes, like standard linear GWAS. So, basically, they are t-scores.