Adjusting summary GWAS for LDSC intercept in R
1
1
Entering edit mode
2.3 years ago
mk19726 ▴ 40

I performed a GWAS of a binary lung function trait (normal or abnormal). Using LDSC the intercept was 1.02 I want to adjust the summary results for the intercept. I understand this can be done by converting the p-values for each SNP to chi square, then dividing by the intercept, then converting back to p-value.

I've seen there are commands in R for this; chi (pchisq) and chi from p (qchisq)

What I don't know is what the degrees of freedom is and I'm unclear about the lower tail.

How would I calculate the degrees of freedom and what should I do for the tail command? Is there a better way to do this then the above commands?

Thank you!

GWAS LDSC • 780 views
ADD COMMENT
0
Entering edit mode
2.1 years ago
eadonyo • 0

Hi @mk19726, I normally perform my adjustments like this: from LDscore regression, treat the intercept like lambdaGC for adjusting your GWAS results (assuming intercept > 1 so there’s evidence of something to correct). Method depends on what data you have:


  1. beta (or odds ratio) and SE: multiply the SE by sqrt(intercept)
  2. z statistics: divide Z stat by sqrt(intercept)
  3. chi2 statistics: divide chi2 by the intercept
  4. p-values: re-compute after applying above adjustment to test statistics

NB: I got this sudo code from the ldscore regression google group

ADD COMMENT

Login before adding your answer.

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