reduce_mouse_cell_types: Since DCQ and BASE provide estimates for several cell types,...

View source: R/mouse_cell_type_mapping.R

reduce_mouse_cell_typesR Documentation

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

Description

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

Usage

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


grst/immunedeconv documentation built on Nov. 10, 2023, 1:33 a.m.