View source: R/BASiCS-simulate.R
BASiCSSimulate | R Documentation |
Simulate counts using the BASiCS method.
BASiCSSimulate(
params = newBASiCSParams(),
sparsify = TRUE,
verbose = TRUE,
...
)
params |
BASiCSParams 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 function is just a wrapper around BASiCS_Sim
that
takes a BASiCSParams
, runs the simulation then converts the
output to a SingleCellExperiment
object.
See BASiCS_Sim
for more details of how the simulation
works.
SingleCellExperiment containing simulated counts
Vallejos CA, Marioni JC, Richardson S. BASiCS: Bayesian Analysis of Single-Cell Sequencing data. PLoS Computational Biology (2015).
Paper: 10.1371/journal.pcbi.1004333
Code: https://github.com/catavallejos/BASiCS
if (requireNamespace("BASiCS", quietly = TRUE)) {
sim <- BASiCSSimulate()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.