| getAdj_reg {PRECAST} | R Documentation | 
Calculate adjacency matrix for regular spatial coordinates.
Description
Calculate adjacency matrix for regular spatial coordinates from ST or Visium platform.
Usage
getAdj_reg(pos, platform= "Visium")
Arguments
| pos | is a n-by-d matrix of position, where n is the number of spots, and d is the dimension of coordinates. | 
| platform | a string, specify the platform of the provided data, default as "Visium", and only support "ST" and "Visium" platform. | 
Value
A sparse matrix containing the neighbourhood.
See Also
getAdj_auto, getAdj, getAdj_fixedNumber.
[Package PRECAST version 1.6.5 Index]