Question
Question Posted 09/12/22:
Hello! I've got the WGS SNP data (i.e. GWAS type data) and I've been trying to match it to my phenotype information. I used the PTID from the roster file to make my IID and used the rid as FID, as this seemed to match the .fam file format.
When I tried to merge the phenotype file with my cleaned PLINK dataset none of the phenotypes matched. On closer inspection the IIDs and FIDs don't match. For example the IID for FID 2 in my phenotype file (i.e. rid 2 in my dataset) matches the IID for FID 45 in my genetic dataset.
Have I done the wrong thing in using rid as the basis for FID? If not all advice would be gratefully received.
Thanks ever so much
Lindsey
Hello! I've got the WGS SNP data (i.e. GWAS type data) and I've been trying to match it to my phenotype information. I used the PTID from the roster file to make my IID and used the rid as FID, as this seemed to match the .fam file format.
When I tried to merge the phenotype file with my cleaned PLINK dataset none of the phenotypes matched. On closer inspection the IIDs and FIDs don't match. For example the IID for FID 2 in my phenotype file (i.e. rid 2 in my dataset) matches the IID for FID 45 in my genetic dataset.
Have I done the wrong thing in using rid as the basis for FID? If not all advice would be gratefully received.
Thanks ever so much
Lindsey
Response posted 09/14/22 by Kwangsik Nho:
In the question, you used PTID, IID, FID, rid, FID 2, rid 2, and FID 45.
I am not sure what you asked. Can you describe your question clearly?
I am not sure what you asked. Can you describe your question clearly?