I am wondering about the calculation of PP.H4.abf from this paper by giambartolomei et al. If I am understanding the methods correctly, then the summary abf is calculated for each region by adding the two log abfs from each study per snp, then summing over every snp in the region, and then multiplying this by the prior probability.
However, when I try to do this manually using my coloc.abf values I get approximately half of what the PP.H4.abf is showing for the summary.
Also, from the coloc.abf vignette, SNP.PP.H4 is "the posterior probabilities for each SNP to be causal conditional on H4 being true". Does this mean that to calculate the SNP.PP.H4, $P(\textrm{snp is causal}) = P(SNP.PP.H4 | PP.H4) = \frac{P(SNP.PP.H4 \cap PP.H4)}{PP.H4.abf}$?
Hello,
I am wondering about the calculation of PP.H4.abf from this paper by giambartolomei et al. If I am understanding the methods correctly, then the summary abf is calculated for each region by adding the two log abfs from each study per snp, then summing over every snp in the region, and then multiplying this by the prior probability.
However, when I try to do this manually using my coloc.abf values I get approximately half of what the PP.H4.abf is showing for the summary.
Am I misunderstanding the calculation?
Also, from the coloc.abf vignette, SNP.PP.H4 is "the posterior probabilities for each SNP to be causal conditional on H4 being true". Does this mean that to calculate the SNP.PP.H4, $P(\textrm{snp is causal}) = P(SNP.PP.H4 | PP.H4) = \frac{P(SNP.PP.H4 \cap PP.H4)}{PP.H4.abf}$?
Thank you.