Description Usage Arguments Value Author(s) Examples
This function simulates single cell data from a random mixture of networks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Sgenes |
number of Sgenes |
Egenes |
number of Egenes |
Nems |
number of components |
reps |
number of replicates, if set (not realistic for cells) |
mw |
mixture weights (has to be vector of length Nems) |
evolution |
evolving and not purely random network, if set to TRUE |
nCells |
number of cells |
uninform |
number of uninformative Egenes |
unitheta |
uniform theta, if TRUE |
edgeprob |
edge probability, value between 0 and 1 for sparse or dense networks |
multi |
a vector with the percentages of cell with multiple perturbations, e.g. c(0.2,0.1,0) for 20 no quadruple knock-downs |
subsample |
range to subsample data. 1 means the full simulated data is used |
scalefree |
if TRUE, graph is scale free |
badCells |
number of cells, which are just noise and not connected to the ground truth network |
exactProb |
logical; if TRUE generates random network with exact fraction of edges |
... |
additional parameters for the scale free network sampler (see 'nem' package) |
simulation object with meta information and data
Nem |
list of adjacency matrixes generatign the data |
theta |
E-gene attachaments |
data |
data matrix |
index |
index for which Nem generated which cell (data column) |
mw |
vector of input mixture weights |
Martin Pirkl
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.