View source: R/ThetaMater.M2.R
ThetaMater.M2 | R Documentation |
This function returns a list of each step in the MCMC sampling chain
ThetaMater.M2(k.vec, l.vec, n.vec, c.vec, K, alpha.param, ngens, burnin, thin,
theta.shape, theta.scale)
k.vec |
Vector of mutation counts |
l.vec |
Vector of locus lengths |
n.vec |
Vector of sample numbers |
c.vec |
Vector of data pattern counts |
K |
Number of classese to approximate the gamma distribution |
alpha.param |
Shape of the gamma distribution for describing the amount of among-locus rate variation |
ngens |
Number of generations to run the MCMC |
burnin |
Number of generations to discard from MCMC chain |
thin |
Number of generations to thin in the MCMC chain |
theta.shape |
Shape parameter of the gamma distribution for setting the prior on theta |
theta.scale |
Scale parameter of the gamma distribution for setting the prior on theta |
library(Rcpp)
library(ThetaMater)
library(MCMCpack)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.