Construct Pseudo bulk samples by actual number of cells per subject

generateBulk_allcells(eset, ct.varname, sample, disease = NULL, ct.sub = NULL)

Arguments

eset

ExpressionSet object for single cells

ct.varname

variable name for 'cell types'

sample

variable name for subject/samples

disease

indicate the health condition of subjects

ct.sub

a subset of cell types that are selected to construct pseudo bulk samples. If NULL, then all cell types are used.

Value

pseudo bulk samples ExpressionSet, and actual cell-type proportions