biolab / orange3-single-cell

🍊🔬 Orange add-on for gene expression of single cell data
https://singlecell.biolab.si/
Other
17 stars 25 forks source link

Spatial Autocorrelation Scorer Implementation #402

Closed lenatr99 closed 3 months ago

lenatr99 commented 3 months ago
Issue

Implements Spatial Autocorrelation Scorer for visualizations.

Description of changes

I implemented Spatial Autocorrelation Scorer that calculates the spatial autocorrelation score (Moran's I or Geary's C) for each gene in the dataset. The input dataset must include gene expression values in columns and spatial coordinates (x and y) in selected columns. The adjacency matrix is computed using k-nearest neighbors based on the spatial coordinates. The scores are computed independently for each gene.

Includes