updateSlalom: Update a SlalomModel object

Description Usage Arguments Details Value Author(s) Examples

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)

PMBio/Rslalom documentation built on May 28, 2019, 2:23 p.m.