estimateExpression(probFile, outFile, parFile=NULL, outputType=NULL, gibbs=NULL, trInfoFile=NULL, thetaActFile=NULL, MCMC_burnIn=NULL, MCMC_samplesN=NULL, MCMC_samplesSave=NULL, MCMC_chainsN=NULL, MCMC_dirAlpha=NULL, seed=NULL, verbose=NULL, procN=NULL, pretend=FALSE)
estimateExpressionLegacy(probFile, outFile, parFile=NULL, outputType=NULL, gibbs=NULL, trInfoFile=NULL, thetaActFile=NULL, MCMC_burnIn=NULL, MCMC_samplesN=NULL, MCMC_samplesSave=NULL, MCMC_samplesNmax=NULL, MCMC_chainsN=NULL, MCMC_scaleReduction=NULL, MCMC_dirAlpha=NULL, seed=NULL, verbose=NULL, pretend=FALSE)parseAlignmenttheta, RPKM, counts, tau.estimateExpressionLegacy.) Target scale reduction, sampler finishes after this value is met.estimateExpressionLegacy.) Maximum number of samples produced in one iteration. After producing samplesNmax samples sampler finishes..prob file containing alignment probabilities which were produced by parseAlignment.
Other optional input is the transcript information file specified by trInfoFile and again produced by parseAlignment.The estimateExpression function first runs burn-in phase and initial iterations to estimate the properties of the MCMC sampling.
The initial samples are used to estimate the number of samples necessary for generating MCMC_samplesSave effective samples in the second, final, stage.
The estimateExpressionLegacy uses less efficient convergence checking via "scale reduction" estimation.
After an iteration of generating MCMC_samplesN samples, it estimates possible scale reduction of the marginal posterior variance.
While the possible scale reduction is high, it doubles the MCMC_samplesN and starts new iteration.
This process is repeated until desired value of MCMC_scaleReduction is met, or MCMC_samplesNmax samples are generated.
The sampling algorithm can be configured via parameters file parFile or by using the MCMC* options.
The advantage of using the file (at least an existing blank text document) is that by changing the configuration values while running, the new values do get updated after every iteration.
parseAlignment