Returns the distance of the closest cell of a specific type from each reference cell
calculate_minimum_distances( sce_object, column = "Phenotype", cell_types_of_interest = NULL )
| sce_object | SingleCellExperiment object in the form of the output of format_image_to_sce |
|---|---|
| column | Column of cells to choose the phenotype from (e.g. Cell.Type, Cell.Type2, etc) |
| cell_types_of_interest | Vector of marker combinations to consider is FALSE |
A data.frame is returned