Skip to content

PBMC10k

kimmo1019 edited this page Nov 17, 2020 · 4 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 PBMC10k --K 14 --dx 6 --dy 50 --no_label --mode 3

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

Analyze results

python eval.py --data PBMC10k

Visualization

The visualization of latent features will be saved as scDEC_embedding.png in the results/PBMC10k 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