Skip to content

theislab/tissue

Repository files navigation

Tissue

Features

tissue is a model repository in a single python package for the manuscript Fischer, D. S., Ali, M., Richter, S., Etrürk, A. and Theis, F. "Graph neural networks learn emergent tissue properties from spatial molecular profiles."

Screenshot 2023-07-31 at 18 49 03

Screenshot 2023-07-31 at 18 49 37

Installation

You can install Tissue via :

$ git clone tissue
$ cd tissue
$ pip install -e .

Requirements

You can install the requirements via:

$ pip install -r requirements.txt

Usage

The repository consists of different components

I. Data loading: datasets can be defined under data/datasets.py and pytorch geometric dataloaders are adjusted accordingly in data/loading.py

II. Models: graph neural networks and baseline models as described in the paper, the following models can be found under modules/:

Graph Neural Networks (GNNs)

  1. Graph convolutional network (GCN)
  2. Graph isomorphism network (GIN)
  3. Graph attention network (GAT)

1. Spatial Tissue Architecture

  • Graph-based models (GIN, GCN)

2. Graph statistics

  • Density-based models

3. Single Cell

  • Multiple-instance models

4. Bulk

  • Multilayer Perceptron (MLP)
  • Logistic Regression
  • Random Forest

The models can be trained using the training scripts provided under train/.

III. Summary and evaluation of models: model evaluation and plotting functions are defined in train/summaries.py

IV. Model interpretation: interpretation methods on graph and node embedding levels are implemented under interpretation/

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Tissue is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages