pca in r using plink files
0
1
Entering edit mode
3.0 years ago
stalberg ▴ 10

I am new to using plink but was wondering how to plot PCA in R using plink files (.bed, .bim etc). Have ran pca in plink so have .eigenval and .eigenvec files but not sure how to proceed with them as of now. Have ran "normal pca" in R before but that was on fun files like .csv. :-) Might be a stupid question but am completely stuck and can't seem to find a solution...

pca r plink • 842 views
ADD COMMENT
2
Entering edit mode

Look for how to read the bed/bim files into matrices in R and then adapt your PCA-from-csv knowledge to get PCA from your bed/bim files.

ADD REPLY

Login before adding your answer.

Traffic: 3485 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6