Question: case control association analysis with covariates in plink?
0
gravatar for Sheila
2.7 years ago by
Sheila310
United States
Sheila310 wrote:

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!

ADD COMMENTlink modified 2.7 years ago • written 2.7 years ago by Sheila310
2
gravatar for chrchang523
2.7 years ago by
chrchang5236.3k
United States
chrchang5236.3k wrote:

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

ADD COMMENTlink written 2.7 years ago by chrchang5236.3k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1478 users visited in the last hour