I want to conduct GWAS analysis using PLINK 1.9. I have created the text files that contain MAP and PED data. However, I could not read the files into PLINK and keep getting errors (attached) I suspect that the problem is the file format, but I have no idea on how can I create MAP/PED files from text file. I searched everywhere for solution but without success. I appreciate if you can help me sort this problem by describing the steps from data.frame in excel to reading the data into PLINK. Thank you!