calculate f statistic for SNPs from GWAS
1
2
Entering edit mode
22 months 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 • 1.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
4 months 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: 2417 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