Spatial functions#
Tissue segmentation#
|
Detect the tissue boundary using a thresholding method. |
|
Compute approx tissue. |
|
Detect the tissue boundary. |
|
Get the score of a contour. |
Geometries#
|
Get the tissue polygons and tissue boundary from the sample image. |
|
Get the spot coordinates in the image. |
|
Return a GeoSeries of the spots in the Visium slide. |
|
Set the geometry of the AnnData object. |
|
Create a GeoSeries from x and y coordinates. |
|
Convert a graph adjacency matrix to a spatial weights matrix. |
Image transformation#
These functions allow rotating and mirroring the tissue images. These functions perform the same transformations on the spot coordinates.
|
Apply unapplied image transforms. |
|
Cancel unapplied image transforms. |
|
Mirror the image along an axis. |
|
Rollback all transformations. |
|
Rotate the image by 90 degrees k times. |
Metrics and neighbours#
|
Compute the spatial lag of a feature. |
|
Compute local Moran's I for a feature. |
|
Compute LOSH for a feature. |
|
Compute Moran's I. |
Graphs#
|
Compute the correlogram of a feature. |
|
Compute higher order neighbors of graph. |
|
Get the default graph for spatial operations. |
|
Set the default graph for spatial operations. |