Interpret PCA as combinations of SNPs
Hi everyone,
I understand that the PCA in SNPRelate summarizes the genetic variance of the population, but I would love to know how one can derive the genetic makeup (SNPs) that correspond with the principal components. I tried reading the code from
https://github.com/zhengxwen/SNPRelate/blob/master/src/genPCA.cpp
but it's not so easy. If there's a source where I can read the mathematics behind this code (how the principal components are computed from the SNPs dataset), I would love to see it as well.
Many thanks.
• 1,091 views
•
link
0 answers
No answers yet.
Log in to answer this question.
The first paper here describes some of the procedure: https://github.com/zhengxwen/SNPRelate#citations There are references there that might also be generally useful.