escoSimDownSample: Simulate observed count matrix though downsampling. (This...

Description Usage Arguments Value References

View source: R/esco-simulate.R

Description

Simulate observed count matrix though downsampling. (This function is borrowed from SymSim).

Usage

1
escoSimDownSample(sim, trial, verbose, numCores = 2, nbatch = 1)

Arguments

sim

SingleCellExperiment to add dropout to.

trial

the index of trial of simulation, all trials share the same truth but the noise is added independently for each trial

verbose

whether to print the process or not

numCores

the number of cores used for parallelization, default is 2. If set as NULL, then all the detected cores are used.

nbatch

number of batches, default is 1.

Value

SingleCellExperiment with simulated dropout and observed counts.

References

Zhang X, Xu C, Yosef N. Simulating multiple faceted variability in single cell RNA sequencing. Nature communications. 2019 Jun 13;10(1):1-6. https://www.nature.com/articles/s41467-019-10500-w


JINJINT/splattermodify documentation built on May 19, 2021, 4:05 p.m.