plda_estimate_gamma_given_beta: Estimate new gamma matrix

Description Usage Arguments Value Examples

View source: R/plda_estimate_gamma.R

Description

Calculate topic by cell (gamma) matrix for new expression data with estimated topic by gene matrix.

Usage

1
2
plda_estimate_gamma_given_beta(x, log_beta, seed = 2018,
  verbose = FALSE)

Arguments

x

Input matrix. A matrix of positive integers where rows represents cells (documents) and column represents genes (words).

log_beta

Estimated log beta matrix from previous run of pLDA. Number of topics by vocabulary size.

Value

Gamma matrix for the new expression data.

Examples

1
2
3
4
## Not run: 
plda_estimate_gamma_given_beta(x=new_expression_data, log_beta=plda_model$logProbW)

## End(Not run)

wuxiaotiankevin/pLDA documentation built on Nov. 11, 2019, 11:01 p.m.