plda_estimate_beta_given_gamma: Estimate beta matrix given data and gamma matrix

Description Usage Arguments Value Examples

View source: R/plda_estimate_beta.R

Description

Calculate topic by gene (beta) matrix given data and gamma matrix.

Usage

1

Arguments

x

Input matrix. A matrix of positive integers where rows represents cells (documents) and column represents genes (words). Here the input matrix should be associated with gamma.

gamma

Topic by sample matrix gamma associated with input matrix x.

Value

log_beta matrix based on x and gamma.

Examples

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

## End(Not run)

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