Since DCQ and BASE provide estimates for several cell types, this function combines the results to align them with the rest of the methods

reduce_mouse_cell_types(deconvolution.results, method = c("sum", "median"))

Arguments

deconvolution.results

a dataframe containing the results of the deconvolution experiment (DCQ or BASE). Cell types are in columns, samples in rows.

method

the method used to combine the estimates: sum, for regression-based methods as DCQ, or median for the scoring methods such as BASE.

Value

a data frame with the aggregated cell types