SCRIPsimLibSizes {SCRIP} | R Documentation |
Simulate library sizes
Description
Simulate expected library sizes. Typically a log-normal distribution is used but there is also the option to use a normal distribution. In this case any negative values are set to half the minimum non-zero value.
Usage
SCRIPsimLibSizes(sim, params, libsize)
Arguments
sim |
SingleCellExperiment to add library size to. |
params |
SplatParams object with simulation parameters. |
libsize |
Provide the library size directly instread of using parameters to estimate |
Value
SingleCellExperiment with simulated library sizes.
[Package SCRIP version 1.0.0 Index]