Identify the cells bordering a group of cells of a particular phenotype

identify_bordering_cells(
  sce_object,
  reference_cell,
  n_of_polygons = 1,
  ahull_alpha = NULL,
  column = "Cell.Type"
)

Arguments

sce_object

SingleCellExperiment object in the form of the output of format_image_to_sce

reference_cell

Cells positive for this marker will be used as reference

n_of_polygons

Number specifying the number of tumour regions defined by user

ahull_alpha

Number specifying the ahull parameter. Larger number, more points included in the ahull.

column

Column to select for phenotypes. Can be Phenotypes, Cell.Type, etc