Description Usage Arguments Value Examples
Creates a mock random single-cell experiment object with doublets
1 2 3 4 5 6 7 | mockDoubletSCE(
ncells = c(200, 300),
ngenes = 200,
mus = NULL,
dbl.rate = 0.1,
only.heterotypic = TRUE
)
|
ncells |
A positive integer vector indicating the number of cells per cluster (min 2 clusters) |
ngenes |
The number of genes to simulate. Ignored if 'mus' is given. |
mus |
A list of cluster averages. |
dbl.rate |
The doublet rate |
only.heterotypic |
Whether to create only heterotypic doublets |
A SingleCellExperiment object, with the colData columns 'type' indicating whether the cell is a singlet or doublet, and 'cluster' indicating from which cluster (or cluster combination) it was simulated.
1 | sce <- mockDoubletSCE()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.