Description Usage Arguments Details Value References Examples
Simulate a bifurcating pseudotime path using the mfa method.
1 | mfaSimulate(params = newMFAParams(), sparsify = TRUE, verbose = TRUE, ...)
|
params |
MFAParams 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 create_synthetic
that takes a MFAParams
, runs the simulation then converts the
output from log-expression to counts and returns a
SingleCellExperiment
object. See
create_synthetic
and the mfa paper for more details about
how the simulation works.
SingleCellExperiment containing simulated counts
Campbell KR, Yau C. Probabilistic modeling of bifurcations in single-cell gene expression data using a Bayesian mixture of factor analyzers. Wellcome Open Research (2017).
Paper: 10.12688/wellcomeopenres.11087.1
Code: https://github.com/kieranrcampbell/mfa
1 2 3 | if (requireNamespace("mfa", quietly = TRUE)) {
sim <- mfaSimulate()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.