Skip to main content

SpaCell Package

Project description

Introduction to SpaCell

  • SpaCell program is being developed for spatial transcriptomics dataset which include image data and RNA expression data.

  • SpaCell implements (deep) neural network models like autoencoder, convolutional neural network to find cell types or predict disease stages.

Installation

  1. Requirements:
[python 3.6+]
[TensorFlow 1.4.0]
[scikit-learn 0.18]
[keras 2.2.4]
[staintools ]
  1. Installation:

2.1 Download from GitHub

git clone https://github.com/BiomedicalMachineLearning/Spacell.git

2.1 Install from PyPi

pip install ....

Usage

Configurations

config.py

  1. Specify the dataset directory and output directory.
  2. Specify model parameters.

1. Image Preprocessing

python image_normalization.py

2. Count Matrix PreProcessing

python count_matrix_normalization.py

3. Generate Dataset

python dataset_management.py

4. Classification

python spacell_classification,py

5. Clustering

python spacell_clustering.py -i /path/to/one/image.jpg -l /path/to/iamge/tiles/ -c /path/to/count/matrix/ -e 100 -k 2 -o /path/to/output/

  • -e is number of training epochs
  • -k is number of expected clusters

Results

Classification of ALS disease stages

Clustering for finding prostate cancer region

Clustering for finding inflamed stromal

Dataset

For evaluating the algorithm, ALS dataset can be used.

Citing Spacell

If you find Spacell useful in your research, please consider citing:

Xiao Tan, Andrew T Su, Quan Nguyen (2019). SpaCell: integrating tissue morphology and spatial gene expression to predict disease cells.

The team

The software is under active development by the Biomedical Machine Learning group at Institute for Molecular Biology (IMB, University of Queensland).

Please contact Dr Quan Nguyen (quan.nguyen@uq.edu.au), Andrew Su (a.su@uq.edu.au), and Xiao Tan (xiao.tan@uq.edu.au) for issues, suggestion, and collaboration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SpaCell-0.0.1.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distribution

SpaCell-0.0.1-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page