Converting csv or text files to ped and map file for GWAS
0
0
Entering edit mode
3.0 years ago
JFeng • 0

Does anyone know how to convert csv or text file to ped and map format so that I could do association analysis using PLINK? What I have now is the phenotype and genotype matrix in csv.

Thanks!

plink GWAS • 1.6k views
ADD COMMENT
0
Entering edit mode

PED and MAP files are text files, change your text/csv files to match the required format.

ADD REPLY
0
Entering edit mode

I have tried to arrange my files to the required format and then changed the extension to '.ped' and '.map', but the problem still exists and it gives me error of half-missing call for variant 3 at line 1, and sometimes it gives me error for failed to open .

ADD REPLY
0
Entering edit mode

Share the row of data that fails, also share the plink code you have tried.

ADD REPLY

Login before adding your answer.

Traffic: 2771 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6