View source: R/kersplat-simulate.R
kersplatSimulate | R Documentation |
Simulate scRNA-seq count data using the Kersplat model
kersplatSimulate(
params = newKersplatParams(),
sparsify = TRUE,
verbose = TRUE,
...
)
params |
KersplatParams object containing simulation parameters. |
sparsify |
logical. Whether to automatically convert assays to sparse matrices if there will be a size reduction. |
verbose |
logical. Whether to print progress messages |
... |
any additional parameter settings to override what is provided in
|
This functions is for simulating data in a single step. It consists of a
call to kersplatSetup
followed by a call to
kersplatSample
. Please see the documentation for those
functions for more details of the individual steps.
SingleCellExperiment containing simulated counts and intermediate values
kersplatSetup
, kersplatSample
if (requireNamespace("igraph", quietly = TRUE)) {
sim <- kersplatSimulate
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.