logLikelihoodByIter | R Documentation |
Plots the log likelihood of the different models through iterations. Log likelihood after burnin should be stable, otherwise more iterations may be required (together with an increase in the burnin).
logLikelihoodByIter(object, select = NULL, ...)
object |
Initialized cisTopic object, after running runCGSModels. |
select |
Plot log-likelihood per iteration for selected topics (as a vector with the number of topics per model). |
... |
Ignored. |
Plots the log likelihood of the models thorugh the different iterations after burnin.
bamfiles <- c('example_1.bam', 'example_2.bam', 'example_3.bam')
regions <- 'example.bed'
cisTopicObject <- CreatecisTopicObjectfromBAM(bamfiles, regions)
cisTopicObject <- runCGSModels(cisTopicObject)
cisTopicObject <- logLikelihoodByIter(cisTopicObject)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.