View source: R/kersplat-simulate.R
kersplatSimCounts | R Documentation |
Simulate the final counts matrix for a Kersplat simulation
kersplatSimCounts(sim, params, verbose)
sim |
SingleCellExperiment containing simulation. |
params |
KersplatParams object with simulation parameters. |
verbose |
logical. Whether to print progress messages |
The cell counts matrix and ambient counts matrix are added together. The
result is then downsampled to the cell library size (for cells and doublets)
or the ambient library size (for empty cells) using the
downsampleMatrix
function.
SingleCellExperiment with counts matrix
downsampleMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.