simulateCounts: Simulate count data based on negative binomial distribution

Description Usage Arguments Value

View source: R/Simulation.R

Description

simulateCounts simulates the expression values using a negative binomial distribution with parameters estimated by estimateParameters. This function is used by simulateCellTypes.

Usage

1
simulateCounts(simParam, nSamples, nGenes, simSeed = NULL, simMarkers = TRUE)

Arguments

simParam

List of parameters estimated by estimateParameters.

nSamples

A integer specifing the number of samples to be simulated.

nGenes

A integer specifing the number of genes to be simulated.

simSeed

A integer specifing seed for simulation

simMarkers

Logical, indicating whether genes to be simulated are markers or not

Value

Matrix with simulated count values.


RaikOtto/ArtDeco documentation built on Oct. 30, 2021, 6:20 p.m.