Description Usage Arguments Value Examples
View source: R/simulation_counts.R
Simulate expression count table given topic by gene, topic by cell matrices and library size.
1 | simulateCounts(theta, beta, doc_length)
|
theta |
Theta matrix where rows represent cells and columns represent topics. |
beta |
Beta matrix where rows represent topics and columns represent genes. |
doc_length |
Library size of cell samples. |
A cell by gene matrix of expression counts.
1 2 3 4 | ## Not run:
counts <- simulateCounts(theta.true, beta.true, rep(100000, nrow(theta.true)))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.