Hi all! I have a genotype dataset in plink format. Now I want to correct for population structure with PCA in association analysis. I split my dataset to training and testing datasets. I want to do the PCA only in the training dataset and use the training dataset as a reference panel to calculate the PCs in testing datasets (I don't want to combine them before PCA). Dose anyone know how to do that? Thank you!