View source: R/kersplat-simulate.R
kersplatSetup | R Documentation |
Setup the parameters required for the Kersplat simulation
kersplatSetup(params = newKersplatParams(), verbose = TRUE, ...)
params |
KersplatParams object containing simulation parameters. |
verbose |
logical. Whether to print progress messages |
... |
any additional parameter settings to override what is provided in
|
The first stage is a two-step Kersplat simulation is to generate some of the
intermediate parameters. The resulting parameters allow multiple simulated
datasets to be generated from the same biological structure (using
kersplatSample
). As with all the other parameters these values
can be manually overwritten if desired.
The setup involves the following steps:
Generate a gene network (if not already present)
Select regulator genes (if not already present)
Simulate gene means (if not already present)
Simulate cell paths
The resulting KersplatParams
object will have the following
parameters set (if they weren't already).
mean.values
network.graph
network.regsSet
paths.means
See KersplatParams
for more details about these parameters and
the functions for the individual steps for more details about the process.
A complete KersplatParams object
kersplatGenNetwork
, kersplatSelectRegs
,
kersplatSimGeneMeans
, kersplatSimPaths
,
KersplatParams
if (requireNamespace("igraph", quietly = TRUE)) {
params <- kersplatSetup()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.