Skip to content

Splenocyte

kimmo1019 edited this page Sep 4, 2020 · 7 revisions

Tutorial on Splenocyte dataset

Installation

git clone https://github.com/kimmo1019/scDEC.git

Downloaded Splenocyte dataset which has been formatted as input of scDEC from the zenode repository. Note that it should be located in the datasets folder.

Run scDEC

python main_clustering.py --data Splenocyte --K 12 --dx 8 --dy 20

The results will be saved in the results/Splenocyte folder.

Analyze results

python eval.py --data Splenocyte 

Visualization

The visualization of latent features will be saved as scDEC_embedding.png in the results/Splenocyte folder.

Clustering results

The inferred cluster label will be saved as scDEC_cluster.txt in the same results folder. Each row denotes the predicted cluster id of each cell.

The latent features learned by scDEC will be saved as scDEC_embedding.csv.

Clone this wiki locally