Generates a single simulated dataset, bootstrapping from the input counts matrix.
generateSimulatedData(totalReads, cells, originalData, realLabels)
Numeric. The total number of reads in the simulated dataset, to be split between all simulated cells.
Numeric. The number of virtual cells to simulate.
Matrix. The original raw read count matrix. When used within the Shiny app, this will be assay(SCEsetObject, "counts").
Factor. The condition labels for differential expression. If only two factors present, will default to t-test. If multiple factors, will default to ANOVA.
A simulated counts matrix, the first row of which contains the 'true' labels for each virtual cell.