assigning cases and controls in plink
2
0
Entering edit mode
8.7 years ago
nchuang ▴ 260

Quick question.

I am trying to assign cases in my study for association test with --make-pheno cases.list '*' option but program keeps telling me there's less than two phenotypes. My command line is:

plink --bfile cases --make-pheno cases.list '*' --assoc

My cases.list file has two columns with FID and IID like this:

18175   1
19233   1
19302   1
19342   1
19367   1
19427   1
19477   1

I am using plink 1.9

plink • 2.3k views
ADD COMMENT
0
Entering edit mode
2.1 years ago
Vanya • 0
plink --bfile cases --pheno casefilename.txt --make-bed --out newfilename

Above command is to update phenotype of cases which is coded by digit 2as explained below e.g.

18175   2
19233   2
19302   2
19342   2
19367   2
19427   2
19477      2

but if you wish to perform association testing(--assoc) you must include control samples as well along with the cases.

ADD COMMENT

Login before adding your answer.

Traffic: 1454 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