make_bulk_eset: Make a random expression set from a single-cell dataset
Description
Make a random expression set from a single-cell dataset
Usage
make_bulk_eset(eset, cell_fractions, n_cells = 500, combine = mean)
Arguments
eset
Biobase::ExpressionSet
with a cell_type
column in pData
.
cell_fractions
n x n_cell_types dataframe with the fraction for each
sample in each row.
combine
callback function used to aggregate the counts.
n_cell
number of single cells to use in each sample