Perform PCA
1
0
Entering edit mode
5 months ago
uhbyhh • 0

Hey , i have a ped file. How can i sue the ped file to perform PCA in ubuntu terminal using plink

plink • 506 views
ADD COMMENT
0
Entering edit mode
5 months ago
bk11 ★ 2.4k

Since you have .ped/.map file, you can perform PCA analysis using the following command-

plink --file your_plink_data --pca 10 --out your_plink_data_PCA 

Also you can convert your .ped/.map files into plink binary files .bed/.bim/.fam first and then run --pca as follows-

plink --file your_plink_data --make-bed --out your_plink_data_binary
plink --bfile your_plink_data_binary --pca 10 --out your_plink_data_binary_PCA
ADD COMMENT

Login before adding your answer.

Traffic: 1822 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