Calculates the average minimum distance of all cells in the sce_object

average_minimum_distance(sce_object)

Arguments

sce_object

Singlecellexperiment object in the form of the output of format_image_to_sce

Value

A single number is returned

Examples

average_minimum_distance(SPIAT::formatted_image)
#> [1] 15.92421