Data set B was pruned based on Linkage diseuqilibrium using the --indep-pairwise option in Plink. However, if I did pruning in A, it was removing most of the SNPs. Hence, I merged A as a whole (without pruning) to a pruned B and ran a PCA. My aim was to merge A and B (which are very different populations) and do a PCA on them. I did PCA using --pca option in Plink.
What I also want to know is, what does it mean by running a GWAS on the principle components? Does is mean that I use the PCAs as covariates in the GWAS?
