rscData: Generates Random Single Cell Data

Description Usage Arguments Value Examples

Description

Generates random single cell data from a negative binomial distribution.

Usage

1
2
rscData(n = 800, p = 5000, celltypes = 15, samples = 4,
  dispersion = 0.1, .rng = NULL)

Arguments

n

number of features

p

number of cells

celltypes

number of cell types

samples

number of biological samples

dispersion

dispersion parameter passed to argument size of stats::rnbinom.

.rng

specification to set the random number with rngtools::setRNG. This enables to generate reproducible data.

Value

an ExpressionSet object

Examples

1
2
3
4
x <- rscData()
x
varLabels(x)
summary(pData(x))

shenorrLab/bseqsc documentation built on May 29, 2019, 9:23 p.m.