Skip to content

About

This repo is part of my work at Institut Imagine Paris, on the relation between spatial transcriptomics and morphogenesis.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Cellular Tissue Spatial Metrics

This repository collects small experiments and utilities for characterizing the spatial organization of cells in tissue slices. The code focuses on comparing ground-truth and predicted cell layouts with metrics drawn from spatial statistics, graph spectra, graph portraits, and continuous energy landscapes.

Repository Contents

data-lookup

Utilities for loading cell-level CSV data into AnnData objects and measuring gene-expression deviations across spatial grids.

ripleys-k-functions

Ripley's K, Besag's L, and pair-correlation functions for quantifying whether cells of a chosen type are clustered, dispersed, or approximately random across the tissue plane.

spectral-graph-entropy

Graph Laplacian tools for building spatial cell graphs, estimating connectivity, computing spectral gaps, and measuring Von Neumann entropy from graph spectra.

Von Neumann entropy cruves for different spatial tissue coordinates

cahn-hilliard-energy

Continuous landscape builders and Cahn-Hilliard-style energy measurements for turning discrete cell coordinates into fields that can be compared by spatial phase structure.

To measure a single cell type cohesion we can compute the energy of the tissue landscape considering that cells are from a phase and the empty space from the opposite phase.

Cahn-Hilliard energy example on the VLMC border cells from our tissue slice Cahn-Hilliard energy example on the Micro border cells from our tissue slice

To measure how mixed different cell types are we can build landscapes from 2 different cell types using Voronoi like uilt diagrams and the compute the Cahn-Hilliard energy of these landscapes Cahn-Hilliard energy example on 2 cell types separeted within the tissue Cahn-Hilliard energy example on 2 cell types mixed within the tissue

graph-compass

Notebook experiments using graph portrait comparisons to evaluate similarities between cell-type-specific spatial graphs. This was made using Graph-Compass library

Graph portrait comparison

About

This repo is part of my work at Institut Imagine Paris, on the relation between spatial transcriptomics and morphogenesis.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages