ws_shrinkage computes a shrinkage based on a weighted sum (ws) of posteriors for each disease
this is then normalised by the total posterior for a given LD blockws_shrinkage.RdThis function computes an alternative to the Bayesian shrinkage method which can be too agressive.
ws_shrinkage computes a shrinkage based on a weighted sum (ws) of posteriors for each disease
this is then normalised by the total posterior for a given LD block
ws_shrinkage(DT, pi_i = 1e-04)
| DT | basis data.table object |
|---|---|
| pi_i | - The prior probability that a variant is causal |
data.table object