Closed hytzuikeai closed 2 years ago
hi, I 've downloaded and repeated your code successfully, then I got three clustering results called NMI,CA and ARI.but how can I find clustering information of every cell such as
Fig. 3: Benchmark results on four real scRNA-seq datasets with true labels-b
fig
Hi,
In the end of scDeepCluster.py script, the line 401
y_pred = scDeepCluster.y_pred
You can just output and save the y_pred to a file you want, such as
np.savetxt("pred_y.txt", y_pred, delimiter=",", fmt="%I")
You can also check my pytorch implementation, where I add an argument setting file name to store the predict labels. Check: https://github.com/ttgump/scDeepCluster_pytorch
Best, Tian
hi, I 've downloaded and repeated your code successfully, then I got three clustering results called NMI,CA and ARI.but how can I find clustering information of every cell such as
Fig. 3: Benchmark results on four real scRNA-seq datasets with true labels-b
fig