pca in r using plink files
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...
• 1,006 views
•
link
0 answers
No answers yet.
Log in to answer this question.
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.