wakefield_pp | R Documentation |
wakefield_pp
computes posterior probabilities for a given SNP to be causal for a given SNP under the assumption of a single causal variant.This function was adapted from its namesake in cupcake package (github.com/ollyburren/cupcake/) to no longer require allele frequencies.
wakefield_pp(beta, se, pi_i = 1e-04, sd.prior = 0.2)
beta |
a vector of effect sizes ( |
se |
vector of standard errors of effect sizes ( |
pi_i |
a scalar representing the prior probability (DEFAULT |
sd.prior |
a scalar representing our prior expectation of |
a vector of posterior probabilities.
Olly Burren, Chris Wallace, Guillermo Reales
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.