Learn R Programming

immunedeconv (version 1.1.0)

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.

n_cells

number of single cells to use in each sample

combine

callback function used to aggregate the counts.

See Also

make_random_bulk