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
- Requirements:
[python 3.6+]
[TensorFlow 1.4.0]
[scikit-learn 0.18]
[keras 2.2.4]
[staintools ]
- 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
- Specify the dataset directory and output directory.
- 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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.