calculate f statistic for SNPs from GWAS
1
2
Entering edit mode
3.7 years ago
mk19726 ▴ 40

Hi,

I have two different types of list of SNPs for MR analysis. One list is just the significant SNPs from a published GWAS (not the whole summary data). Other lists of SNPs have the whole summary data

In R I would like to calculate the overall F statistic to assess instrument strength.

I saw a paper where they wrote this, "we estimated the r2 of each genetic instrument and summed them up to compute the overall r2 and F statistics using the sample size "

I would love to do this with my data too!

Can anyone explain how to do this in R?

I have rsid, beta, se, pval, N

Incase this effects things, one of my SNP lists for which I have summary data is binary, all others continuous

Thank you for your help!!!

R SNP • 3.4k views
ADD COMMENT
0
Entering edit mode

Yes,I have the same question as you, have you got any answers?

ADD REPLY
0
Entering edit mode

I also need to do the same. Did you find a way of doing this?

Thanks a lot

ADD REPLY
2
Entering edit mode
2.3 years ago
daniel.coral ▴ 20

In the supplementary material of this paper the F-statistic for a SNP is approximated by βₓ² / σₓ² for exposure X.

ADD COMMENT

Login before adding your answer.

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