xianglin226 / scMDC

Single Cell Multi-omics deep clustering
Apache License 2.0
24 stars 4 forks source link

how to set Y value? #7

Open lvmt opened 1 year ago

lvmt commented 1 year ago

hi, nice a tool and performance is really good.

data_mat = h5py.File(args.data_file)   
x1 = np.array(data_mat['X1'])   
x2 = np.array(data_mat['X2'])  
y = np.array(data_mat['Y'])   

as your "datasets/readme" said, Y: True labels (if exist) ; but in the code, there isn't if-else judge sentences . if my data don't have True labels and how can i solve the problem.

thanks.
need your help.

xianglin226 commented 1 year ago

Thank you for pointing out this issue. I've updated the codes. When running the program, please add "--no_labels" in the running command for the data without labels.