参考:
https://zhuanlan.zhihu.com/p/72490817?from_voters_page=true
一、准备数据集
wget http://zzz.bwh.harvard.edu/plink/dist/example.zip
unzip example.zip
cd example/
检查ped文件和map文件的存在
plink --file wgas1
生成二进制的ped文件(fam bed bai)
plink --file wgas1 --make-bed --out wgas1
二、逻辑回归
plink --bfile wgas1 --logistic
head plink.assoc.logistic