Description Usage Arguments Value Examples
simulates a table of tags generated from a single-cell RNA-Seq experiment.
1 2 | scSimulator(N = 3, nDG = 150, nMK = 10, nNDG = 20000, k = 50,
seed = 17, logmean = 5.25, logsd = 1, v = 9.2)
|
nDG |
the number of differentially expressed genes. |
nMK |
the number of markers (expressed in one cell type only). |
nNDG |
the number of non-differentially expressed genes. |
k |
the number of cells in each cell type. |
seed |
for reproducibility. |
logmean |
mean of distrubution for each library. |
logsd |
standard deviation of distribution for each library. |
v |
dropout level parameter; higher v means a higher level of dropouts. |
a list object is returned containing the following components
annotation |
0 means a real zero; 1 means a non-zero entry; 2 means a dropout. Note that a dropout may still have a small value. |
expectedValues |
underlying real expression of the entry. |
dropoutsSimulated |
expression values after simulation of dropouts before simulation of noise. |
tags |
the simulated tags after simulation of both dropouts and noise. |
1 2 3 | ## Generate simulated tags with default parameters: 3 cell types and 50 cells in each cell type.
sData <- scSimulator()
sData$tags[1:5, 1:5]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.