getAdj_reg.Rd
Calculate adjacency matrix for regular spatial coordinates from ST or Visium platform.
getAdj_reg(pos, platform= "Visium")
is a n-by-d matrix of position, where n is the number of spots, and d is the dimension of coordinates.
a string, specify the platform of the provided data, default as "Visium", and only support "ST" and "Visium" platform.
A sparse matrix containing the neighbourhood.
getAdj_auto, getAdj, getAdj_fixedNumber.