Skip to content

raphael-group/GASTON-Mix

Repository files navigation

GASTON-Mix

GASTON-Mix is a spatial mixture-of-experts (MoE) model for learning domain-specific topographic maps of a tissue slice from spatially resolved transcriptomics (SRT) data.

Installation

We will make GASTON-Mix pip-installable soon. In the meanwhile, you can directly install the conda environment from the environment.yml file:

conda env create -f environment.yml

Then install GASTON-Mix using pip.

conda activate gaston-mix
pip install -e .

Installation should take <10 minutes.

Getting started

See our tutorial tutorial.ipynb and check out our readthedocs.

Software dependencies

  • torch
  • matplotlib
  • pandas
  • scikit-learn
  • numpy
  • jupyterlab
  • seaborn
  • tqdm
  • scipy
  • scanpy

See full list in environment.yml file. GASTON-Mix can be run on CPU or GPU.

We note that GASTON-Mix sometimes uses clusters from CellCharter to initialize its gating network. We suggest either making a separate environment to run CellCharter and follow their tutorial, or using a different initialization (see tutorial).

Citations

The GASTON-Mix pre-print is available at [add link] If you use GASTON-Mix for your work, please cite our paper.


@article{Chitra2025,
	...
}

Support

For questions or comments, please file a Github issue and/or email Uthsav Chitra (uchitra@broadinstitute.org)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages