Description Usage Arguments Value Author(s) Examples
Given some set of parameters in pars, compute the posterior likelihood of membership of each group for a set of SNP Z scores
1 | getpx(Z, pars)
|
Z |
n x 2 matrix of Z scores; Z[,1]=Z_d, Z[,2]=Z_a |
pars |
parameters of full model; in order, pi0, pi1, tau, sigma_1, sigma_2, rho |
i |
get posterior probability of this group; if null, get posterior probability of all groups. |
n x 3 matrix; element [i,j] is probability of SNP i being in group j.
James Liley
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.