Usage
assign.convergence(test, burn_in=0, iter=2000, parameter = c("B", "S", "Delta",
"beta", "kappa", "gamma", "sigma"), whichGene, whichSample, whichPath)
Arguments
test
The list object returned from the assign.mcmc function. The list components are the MCMC chains of the B, S, Delta, beta, gamma, and sigma.
burn_in
The number of burn-in iterations. These iterations are discarded when computing the posterior means of the model parameters. The default is 0.
iter
The number of total iterations. The default is 2000.
parameter
A charater string indicating which model parameter is to be checked for convergency. This must be one of "B", "S", "Delta", "beta", "kappa", "gamma", and "sigma".
whichGene
A numerical value indicating which gene is to be checked for convergence. The value has to be in the range between 1 and G.
whichSample
A numerical value indicating which test sample is to be checked for convergence. The value has to be in the range between 1 and N.
whichPath
A numerical value indicating which pathway is to be checked for convergence. The value has to be in the range between 1 and K.