Besides Moran’s I another spatial autocorrelation metric is Geary’s C (Geary 1954), defined as:
where is the number of spots or locations, and are different locations, or spots in the Visium context, is a variable with values at each location, and is a spatial weight, which can be inversely proportional to distance between spots or an indicator of whether two spots are neighbors, subject to various definitions of neighborhood.
Geary’s C below 1 indicates positive spatial autocorrelation, and above 1 indicates negative spatial autocorrelation. Central to Geary’s C is the square of differences between cells or spots, which makes Geary’s C related to the variogram.
Below is a list of vignettes that use Geary’s C. The links point to the sections that use Geary’s C. The corresponding Google Colab notebooks are also linked to. The list is sorted by technology.
Vignette | Colab Notebook | Description |
---|---|---|
Spatial Visium exploratory data analysis | Colab Notebook | Perform Geary’s C on QC metrics in mouse skeletal muscle dataset |
seqFISH exploratory data analysis | Colab Notebook | Perform Geary’s C with permutation testing on top highly variable genes in mouse gastrulation data |