Description Usage Arguments Details Value Author(s) See Also
Procedurally writes JAGS model files based upon the arguments for the BaySIC model fitting function baysic.fit
.
1 | write.baysic(mut.dat, covar = NULL, prior = NULL, fn.jags = "baysic.jags")
|
mut.dat |
matrix or dataframe containing the observed SNV and indel. The indel counts should be contained in the final column. Column names from this object will be used to create the model file. |
covar |
optional matrix or dataframe of gene-level covariates. Column names from this object will be used to create the model file. |
prior |
optional vector of character strings which define prior distributions on the model parameters in the JAGS language format. If |
fn.jags |
file name of JAGS model file to be used. Defaults to "baysic.jags" |
This function is a subroutine used in baysic.fit
Writes JAGS file to the location specified by fn.jags
Nicholas B. Larson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.