average_minimum_distance: average_minimum_distance

View source: R/average_minimum_distance.R

average_minimum_distanceR Documentation

average_minimum_distance

Description

Calculates the average minimum distance of all cells to their nearest cells in the input image.

Usage

average_minimum_distance(spe_object)

Arguments

spe_object

SpatialExperiment object in the form of the output of format_image_to_spe.

Value

A single number is returned

Examples

average_minimum_distance(SPIAT::simulated_image)

TrigosTeam/SPIAT documentation built on Aug. 22, 2024, 7:50 p.m.