ws_shrinkage: This function computes an alternative to the Bayesian...

Description Usage Arguments Value

View source: R/cupfunc.R

Description

This 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

Usage

1
ws_shrinkage(DT, pi_i = 1e-04)

Arguments

DT

basis data.table object

pi_i

- The prior probability that a variant is causal

Value

data.table object


ollyburren/cupcake documentation built on July 30, 2020, 9:58 a.m.