Random sampling (baseline method)

sample_random(coordinates, n_target)

Arguments

coordinates

Spatial coordiantes

n_target

Number of targets

Value

Integer vector of the selected cell indices.