Description Usage Arguments Value Examples
Simulate the data for two-group comparison; e.g., treatment v.s. control It simulates the DE changes in two forms corresponding two types of DE genes
1 | Simulate2SCE(n = 100, perDE = 0.05, estParas1, estParas2)
|
n |
the number of total cells for two groups |
perDE |
percentage of DE genes |
estParas1 |
the set of parameters corresponding to cell type I |
estParas2 |
the set of parameters corresponding to cell type II |
a list of metrics recording the changes in the generated data: such as the DE gene indices for Form I and II DE genes, and simulated expression data in singlecellexperiment format.
1 2 3 4 5 6 7 | data("es_mef_sce")
sce = es_mef_sce[, colData(es_mef_sce)$cellTypes == "fibro"]
set.seed(123)
rix = sample(1:nrow(sce), 500)
sce = sce[rix, ]
estParas = Est2Phase(sce)
simData = Simulate2SCE(n=100, estParas1 = estParas, estParas2 = estParas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.