Gibbs.post | R Documentation |
Calculate the Gibbs posterior
Gibbs.post( theta_0, theta_1, nodesNeighbor, w, W = NULL, Y, N, mu, mcmc_samples = 1010, burnin = 10, thin = 1, initLabel = NULL )
theta_0 |
The estimated value of theta_0. |
theta_1 |
The estimated value of theta_1. |
nodesNeighbor |
Neighbors of corresponding nodes in the network. |
w |
The parameter in the prior for network. |
W |
Another way to input the weight. For internal use. |
Y |
The vector of DNM counts for all genes. |
N |
The parameter in the prior for network. |
mu |
The vector of mutability for all genes. |
mcmc_samples |
The number of iterations for mcmc. |
burnin |
The number of burn-ins for mcmc. |
thin |
The number of thinning for mcmc. |
initLabel |
The vector of initial labels for all genes. |
The list containing S_mcmc
the mcmc samples after burning-in and thinning,
q_0
the posterior probability for calculating FDR,
llk
the likelihood for checking convergence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.