I observe unexpected FDR inflation for analyzing singleton simulations using identity priors. Here I take a closer look at the problem.
%cd ~/GIT/github/mnm-twas/dsc/finemap_output
scenario = 'singleton/small_data_1_singleton_1.pkl'
analysis = 'mnm_identity/small_data_1_singleton_1_oracle_generator_1_mnm_identity_1.rds'
dat = dscrutils::read_dsc(scenario)
res = readRDS(analysis)$result
names(dat)
names(res)
# plot = mvsusieR::mvsusie_plot(res)
truth = dat$meta$true_coef
true_idx = which(truth != 0, arr.ind = TRUE)
true_idx
truth[unique(true_idx[1]),]
res$coef[unique(true_idx[1])+1,]
res$sets