wakefield_pp_quant | R Documentation |
wakefield_pp_quant
computes posterior probabilities for a given SNP to be causal for a given SNP under the assumption of a single causal variant.
wakefield_pp_quant(beta, se, sdY, sd.prior = 0.15, pi_i = 1e-04)
beta |
a vector of effect sizes ( |
se |
vector of standard errors of effect sizes ( |
sdY |
a scalar of the standard deviation given vectors of variance of coefficients, MAF and sample size. Can be calculated using |
sd.prior |
a scalar representing our prior expectation of |
pi_i |
a scalar representing the prior probability (DEFAULT |
This function was adapted from wakefield_pp
in cupcake package (github.com/ollyburren/cupcake/)
a vector of posterior probabilities.
Guillermo Reales, Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.