popari.components.PopariDataset.compute_spatial_neighbors

popari.components.PopariDataset.compute_spatial_neighbors#

PopariDataset.compute_spatial_neighbors(threshold=94.5)[source]#

Compute neighbor graph based on spatial coordinates.

Stores resulting graph in self.obs["adjacency_list"].

Parameters:

threshold (float)