case control association analysis with covariates in plink?
1
0
Entering edit mode
7.0 years ago
Sheila ▴ 420

Hi!

I would like to complete a case/control analysis with two covariates (sex and age) in plink. Here is my model

Y = B0 + B1X1 + B2X2 + B3X3

where... Y = Disease Status (0 or 1), X1 = given SNP, X2 = Sex, X3 = Age

I have a few questions:

This was my command:

plink --bfile myfile --assoc --covar --covarList.cov --out results

I realized i couldn't include covariates in a case control analysis in plink. That being said, would the --linear command provide me what I need (See command below)???

plink --bfile myfile --linear --covar --covarList.cov --out results

Would I need to create a pheno file if I use the --linear command or would the command above give me the results.

I basically am asking what is the correct command to achieve the results of my given model above.

Thank you!

plink case-control association covariates • 3.0k views
ADD COMMENT
2
Entering edit mode
7.0 years ago

--logistic is the command you're looking for.

ADD COMMENT

Login before adding your answer.

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