Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCA scores when using *.bed, *.bim, *.fam files #1

Open
namheegordonkim opened this issue May 8, 2017 · 0 comments
Open

PCA scores when using *.bed, *.bim, *.fam files #1

namheegordonkim opened this issue May 8, 2017 · 0 comments

Comments

@namheegordonkim
Copy link

Suppose we have the following files:
in.bed, in.bim, in.fam

The command:

smartpca.perl -i in.bed -a in.bim -b in.fam -s 6 \
-e out.eval -l out.elog -o out.pca -p out.plot

results in out.pca having only zero entries. On the other hand, using plink to recode the binary files into *.ped and *.map, the commands:

smartpca.perl -i in.ped -a in.map -b in.ped -s 6 \
-e out.eval -l out.elog -o out.pca -p out.plot

and

smartpca.perl -i in.ped -a in.map -b in.fam -s 6 \
-e out.eval -l out.elog -o out.pca -p out.plot

both compute the same eigenvalues as the previous one, but the PCA scores are correctly computed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant