simulateNegativeControls: Simulate expression data which does not follow a cell-type...

Description Usage Arguments Value

View source: R/Simulation.R

Description

simulateNegativeControls simulates random expression profiles following a negative binomial distribution. Parameters of the negative binomial are randomly sampled from a normal distribution. Can be used as negative controls for benchmarking purposes.

Usage

1
2
3
4
5
6
7
8
simulateNegativeControls(
    nGenes,
    numSamples,
    normMean,
    normSD,
    seed,
    verbose
)

Arguments

nGenes

A integer specifing the number of genes to be simulated.

numSamples

A integer specifing the number of samples to be simulated.

normMean

A integer specifing the mean parameter of the normal distribution which is used to generate mean expression values for the simulation.

normSD

A integer specifing the standard deviation parameter of the normal distribution which is used to to generate mean expression values for the simulation.

seed

A integer specifing seed for simulation. Default is NULL. Random seed will be generated if no seed is provided.

verbose

Logical, indicating whether status updates will be printed. Default is TRUE.

Value

Matrix with simulated count values. Samples as columns and genes as rows.


RaikOtto/artdeco documentation built on Nov. 3, 2021, 6:18 p.m.