Skip to content

deMirandaLab/GRIDGENE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRIDGENE

CI Docs License Contributions Welcome

GRIDGENE (Guided Region Identification based on Density of GENEs) is a Python package designed for defining
regions of interest based on transcript density. It enables the identification of biologically relevant tissue compartments, including interfaces between regions
(e.g., cancer vs. stroma), phenotype-enriched areas, and zones defined by specific gene signatures.


Table of Contents

Features

  • Generate masks and expansions for spatial transcriptomics based on density of genes
    • Contour identification
    • Tissue mask mapping and expansion
    • Mask information retrieval
    • Cell segmentation overlay

General view: plot

GRIDGENE contains the following Case Studies:

  • tumor microenvironment analysis
  • Definition of population-specific objects in CRC in CosMx (single and multiclass)
  • Integration with cell segmentation pipelines
  • Alternative masking strategies using KD-Trees and Self-Organizing Maps (SOM)

Documentation

Documentation is available at GRIDGENE Documentation.


Credits

If you find this repository useful in your research or for educational purposes please refer to: Sequeira, A. M., Ijsselsteijn, M., Rocha, M., Roelands, J., & de Miranda, N. F. (2025). GRIDGENE: Guided Region Identification based on Density of GENEs-a transcript density-based approach to characterize tissues by spatial transcriptomics. bioRxiv, 2025-08. https://doi.org/10.1101/2025.08.14.670318

License

Developed at the Leiden University Medical Centre, The Netherlands and Centre of Biological Engineering, University of Minho, Portugal

Released under the GNU Public License (version 3.0).

About

Guided Region Identification based on Density of Genes. Building masks for spatial transcriptomics data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages