Installation

Important software Dependencies

  • scanpy==1.9.3

  • squidpy==1.3.0

  • pytorch==1.13.1 (cuda==11.7)

  • DGL==1.1.1 (cuda==11.7)

  • R==4.2.0

  • mclust==5.4.10

Note: The evaluation device for all the results in the article is an RTX3090.

Setup by Anaconda

  1. Install Anaconda.

  2. Clone the stCluster repository from GitHub:

    git clone https://github.com/hannshu/stCluster.git
    
  3. Download the dataset repository:

    git submodule init
    git submodule update
    
  4. Import the conda environment:

    conda env create -f environment.yml
    
  5. Write a Python script to run stCluster.