Calculate the proprtion of immune cells in each defined tumour structure, return a data_localframe

calculate_proportions_of_immune_cells_in_structure(
  sce_object,
  immune_cells,
  column
)

Arguments

sce_object

SingleCellExperiment object in the form of the output of format_image_to_sce

immune_cells

Vector of immune cells to consider

column

Column to extract cell types from