Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scCube v1.0.0

Simulation of spatially-resolved transcriptomic data

python >=3.8

scCube is a python package coupled with an interactive website for reproducible, paired, and platform-diverse simulation of spatially-resolved transcriptomic data

avatar

Requirements and Installation

anndata 0.8.0 numpy 1.23.5 pandas 1.5.3 scanpy 1.9.1 pot 0.8.2 matplotlib 3.6.3 seaborn 0.12.2 tqdm 4.64.1

Create and activate Python environment

For scSpace, the python version need is over 3.8. If you have installed Python3.6 or Python3.7, consider installing Anaconda, and then you can create a new environment.

conda create -n sccube python=3.8
conda activate sccube

Install pytorch

The version of pytorch should be suitable to the CUDA version of your machine. You can find the appropriate version on the PyTorch website. Here is an example with CUDA11.6:

pip install torch --extra-index-url https://download.pytorch.org/whl/cu116

Install other requirements

cd scCube-release
pip install -r requirements.txt

Install scCube

python setup.py build
python setup.py install

Quick Start

To use scCube we require five formatted .csv files as input (i.e. read in by pandas). We have included two test datasets in the tutorial/demo_data folder of this repository as examples to show how to use scCube.

If you generate spot-based ST data, please refer to:

If you generate image-based ST data, please refer to:

For more details about the format of input and the description of parameters, see the Tutorial Handbook.

Tutorials

TODO:

About

scCube was developed by Jie Liao and Jingyang Qian. Should you have any questions, please contact Jingyang Qian at qianjingyang@zju.edu.cn.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages