find_neighbors2.Rd
find_neighbors2 was used to find the neighborhood of spot.
find_neighbors2(sce, platform)
sce | is a SingleCellExperiment object containing PCA and position informatin. |
---|---|
platform | is the name of spatial transcriptomic platform. Specify 'Visium' for hex lattice geometry or 'ST' for square lattice geometry. Specifying this parameter is optional as this information is included in their metadata. |
a sparse matrix recording the information of neighborhood.
find_neighbors2 was used to find the neighborhood of spot.