splatSimDropout: Simulate dropout

Description Usage Arguments Value

View source: R/splat-simulate.R

Description

A logistic function is used to form a relationship 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.


splatter documentation built on Dec. 3, 2020, 2:01 a.m.