Calculates the average minimum distance of all cells to their nearest cells in the input image.
Arguments
- sce_object
SingleCellExperiment object in the form of the output of
format_image_to_sce
.
Examples
average_minimum_distance(SPIAT::simulated_image)
#> [1] 17.01336