yezhengSTAT / scVI-3D

GNU General Public License v3.0
5 stars 2 forks source link

Output predicted labels? #2

Open LyuHaoUZH opened 2 years ago

LyuHaoUZH commented 2 years ago

Hi Ye,

Nice work! Is there any code that outputs predicted labels so that evaluation metrics such as adjusted rand index can be calculated?

Thank you so much!

yezhengSTAT commented 2 years ago

Hello, I also realized that the input cell type label can be of different order with the output normalized cells. In the next release version, I will add the function to write out the sorted cell type labels. For now, you can sort your input cell type label file by the following python code.

Thanks, Ye

cellInfo = pd.read_csv(args.cellSummary, sep = "\t", header = 0).sort_values(by = 'name')