updateSlalom: Update a SlalomModel object

Description Usage Arguments Details Value Author(s) Examples

View source: R/SlalomModel-methods.R

Description

Do one variational update of a SlalomModel to infer model parameters.

Usage

1
updateSlalom(object)

Arguments

object

a Rcpp_SlalomModel object

Details

Update the model with one iteration using variational Bayes methods to infer parameters.

Value

an 'Rcpp_SlalomModel' object

Author(s)

Davis McCarthy

Examples

1
2
3
4
5
6
gmtfile <- system.file("extdata", "reactome_subset.gmt", package = "slalom")
genesets <- GSEABase::getGmt(gmtfile)
data("mesc")
model <- newSlalomModel(mesc, genesets, n_hidden = 5, min_genes = 10)
model <- initSlalom(model)
model <- updateSlalom(model)

slalom documentation built on Nov. 8, 2020, 5:24 p.m.