Generating Random Pure Cell Type Sample

Description

rpure generates random expression data that simulates pure cell type samples, that share most gene expression profile pattern.

Usage

rpure(x, n = 100, p = 20, min = 0, max = 20)

Arguments

x
number of cell types
n
number of features
p
number of samples per cell type
min
lower and upper limits of the distribution. Must be finite.
max
lower and upper limits of the distribution. Must be finite.

Value

an ExpressionMix object that contains the expression data, the pure basis signatures, and a phenotype variable 'CellType', which indicates the cell type of each sample.

Examples


x <- rpure(3)
aheatmap(x, annCol=TRUE)

plot of chunk unnamed-chunk-1