Plot the MCMC trace

plotMcmcTrace(mcmcNull, fileName = NULL)

Arguments

mcmcNull

An object of type mcmcNull as generated using the fitMcmcNull function.

fileName

Name of the file where the plot should be saved, for example 'plot.png'. See the function ggsave in the ggplot2 package for supported file formats.

Details

Plot the trace of the MCMC for diagnostics purposes.

Examples

if (FALSE) { # \dontrun{
data(sccs)
negatives <- sccs[sccs$groundTruth == 0, ]
null <- fitMcmcNull(negatives$logRr, negatives$seLogRr)
plotMcmcTrace(null)
} # }