View source: R/kersplat-simulate.R
kersplatSimAmbientCounts | R Documentation |
Simulate Kersplat ambient counts
kersplatSimAmbientCounts(sim, params, verbose)
sim |
SingleCellExperiment containing simulation. |
params |
KersplatParams object with simulation parameters. |
verbose |
logical. Whether to print progress messages |
The overall expression profile to calculated by averaging the cell counts of the (non-empty) cells. This is then multiplied by the ambient library sizes to get a mean for each cell. Counts are then sampled from a Poisson distribution using these means.
SingleCellExperiment with ambient counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.