Change plink file for logistic in R
Hi all,
I would like to extract single snp from plink to R for a logistic regression.
I used --recode and got map/ped file. Also, I used --make-bed and got binary file.
Please anyone navigate me how to change from those file to right format for running logistic in R
Any suggestions are appreciated.
Thanks
• 3,237 views
•
link
1 answer
In PLINK you can use the --recodeA flag to output your data as a single data frame, where each SNP is coded as allele dose; one SNP per column.
• 0 views
•
link
Log in to answer this question.
The r function
convert.snp.pedfrom R package GenABEL.