$for(css)$ $endfor$
Generates random single cell data from a negative binomial distribution.
rscData(n = 800, p = 5000, celltypes = 15, samples = 4, dispersion = 0.1, .rng = NULL)
size of stats::rnbinom.an ExpressionSet object
x <- rscData() x#> ExpressionSet (storageMode: lockedEnvironment) #> assayData: 800 features, 5000 samples #> element names: exprs #> protocolData: none #> phenoData #> sampleNames: C1 C2 ... C5000 (5000 total) #> varLabels: cellType sampleID group #> varMetadata: labelDescription #> featureData: none #> experimentData: use 'experimentData(object)' #> Annotation:varLabels(x)#> [1] "cellType" "sampleID" "group"summary(pData(x))#> cellType sampleID group #> CT_1 : 338 1:1250 A:2500 #> CT_2 : 333 2:1250 B:2500 #> CT_3 : 333 3:1250 #> CT_4 : 333 4:1250 #> CT_5 : 333 #> CT_6 : 333 #> (Other):2997