.find_neighbors {BayesSpace} | R Documentation

## Find neighboring spots based on array coordinates

### Description

Find neighboring spots based on array coordinates

### Usage

    .find_neighbors(sce, platform)

### Arguments

`sce` | SingleCellExperiment
`platform` | If "Visium", select six neighboring spots around center; if "ST", select four adjacent spots.

### Value

`df_j` a list of neighbor indices (zero-indexed) for each spot

[Package BayesSpace version 1.2.1 Index]