dropout.fun: Impose dropouts. Impose dropouts

Description Usage Arguments Value

Description

Impose dropouts. Impose dropouts

Usage

1
dropout.fun(object, pDropout, drop.method, drop.lambda, seed)

Arguments

object

DGEList object.

pDropout

Numeric vector of dropout probabilities to consider.

drop.method

Dropout method, with two options: zero-inflation, or low-rate Poisson.

drop.lambda

Mean of low-rate Poisson for the Poisson-dropout scenario.

seed

Optional seed, if it desired to replicate the simulation.

Value

Saves attributes of dropout imposition on simulated data to DGEList object: dropout-imposed count matrix, gene-wise probability of dropout, logical matrix indicating dropout observations.


fayezor/myRpackage documentation built on May 16, 2019, 11:01 a.m.