Here for susie and DAP we group all PIP across all simulations into 10 bins according to reported PIP. Then compute the proportion of true signals in each bin. We align this proportion to the average PIP for each bin for calibrated SNP-level posterior probability.
Calibrated PIP: for example for SNPs having PIP = 0.5, indeed half of them are true signal (simulated).
%revisions -s
Run the cali_pip
workflow in this notebook
%cd ~/GIT/github/mvarbvs/dsc
var(Y)
as residual¶A bit conservative.
%preview susie_comparison/PIP_comparison_0622.calibrated.estvar_false.png
A bit anti-conservative?
%preview susie_comparison/PIP_comparison_0622.calibrated.estvar_true.png