Aggregate Deconvolution results
aggregate_results.Rd
Aggregate deconvolution results by merging result columns in the spatial object
Usage
aggregate_results(
spatial_obj = NULL,
cell_type_1 = NULL,
cell_type_2 = NULL,
name = NULL,
remove = FALSE
)
Arguments
- spatial_obj
SpatialExperiment containing deconvolution results
- cell_type_1
cell type to aggregate, including the method "method_celltype"
- cell_type_2
cell type to aggregate, including the method "method_celltype"
- name
new name for aggregation
- remove
logical, remove provided cell types and just keep the aggregation