splatSimDropout: Simulate dropout

Description Usage Arguments Value

View source: R/splat-simulate.R

Description

A logistic function is used to form a relationshop between the expression level of a gene and the probability of dropout, giving a probability for each gene in each cell. These probabilities are used in a Bernoulli distribution to decide which counts should be dropped.

Usage

1
splatSimDropout(sim, params)

Arguments

sim

SingleCellExperiment to add dropout to.

params

SplatParams object with simulation parameters.

Value

SingleCellExperiment with simulated dropout and observed counts.


Oshlack/splatter documentation built on Dec. 7, 2018, 11:18 p.m.