R/calculate_proportions_of_immune_cells_in_structure.R
calculate_proportions_of_immune_cells_in_structure.Rd
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 )
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 |