Question: PCA axis description SNPRelate
gravatar for serpalma.v
6 months ago by
serpalma.v50 wrote:


in the vignette for SNPRelate, under PCA, the plot is labeled as x="eigenvector 2" and y="eigenvector 1". My knowloedge on PCA is very basic and I was wondering if this is the same as x="PC2" and y="PC1".

Similarly, I want to also ask if the element $eigenvect in the pca object created by the function snpgdsPCA correspond to the loadings for each SNP.

As I said, my knowledge on PCA is very basic (I am working on it though) and apologize for this basic question.

snprelate pca • 111 views
ADD COMMENTlink modified 6 months ago by Stephanie M. Gogarten680 • written 6 months ago by serpalma.v50
Answer: PCA axis description SNPRelate
gravatar for Stephanie M. Gogarten
6 months ago by
University of Washington
Stephanie M. Gogarten680 wrote:

Yes, "principal component (PC)" and "eigenvector" mean the same thing. The element $eigenvect has the sample eigenvectors (each row corresponds to a sample). To obtain the SNP loadings, use the function snpgdsPCASNPLoading.

ADD COMMENTlink written 6 months ago by Stephanie M. Gogarten680
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 317 users visited in the last hour