getAdj_reg | R Documentation |
Calculate adjacency matrix for regular spatial coordinates from ST or Visium platform.
getAdj_reg(pos, platform= "Visium")
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. |
A sparse matrix containing the neighbourhood.
getAdj_auto, getAdj, getAdj_fixedNumber.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.