Keeping both A1/A2 in PLINK for assoc/logistic output
2
1
Entering edit mode
5.7 years ago

Hey guys,

I was wondering if there's anyway to keep both A1 and A2 in PLINK for the logistic output? I used to merge my freq. output and assoc output. However, since I use HWE / MAF filters, it only applies to the logistic and the merging no longer works since they're not in order anymore.

Any suggestions? Thank you all!

PLINK GWAS • 3.9k views
ADD COMMENT
1
Entering edit mode
5.7 years ago

Plink automatically sets A2 as the major allele and then tests A1 (minor allele) for the purposes of regression. You could switch these through the use of the --a1-allele / --a2-allele flags.

Kevin

ADD COMMENT
1
Entering edit mode
5.7 years ago

Use plink 2.0 --glm for this; it gives you a lot more flexibility re: what columns are included in the output, and by default both alleles are shown (and there's a third column indicating which allele is currently being regressed on).

ADD COMMENT

Login before adding your answer.

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