Lee’s L (Lee 2001) was developed from relating Moran’s I to Pearson correlation, and is defined as
where is the number of spots or locations, and are different locations, or spots in the Visium context, and are variables 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.
Below is a list of vignettes that use Lee’s L. The links point to the sections that use Lee’s L. The corresponding Google Colab notebooks are also linked to. The list is sorted by technology.
Vignette | Colab Notebook | Description |
---|---|---|
Bivariate spatial statistics | Colab Notebook | Perform global and local Lee’s L and bivariate local Moran’s I on mouse skeletal muscle Visiumd dataset |