ma-compbio / Higashi

single-cell Hi-C, scHi-C, Hi-C, 3D genome, nuclear organization, hypergraph
MIT License
79 stars 10 forks source link

how the cell_name in data.txt corresponds to the cell_type in label_info.pickle? #53

Closed LHXqwq closed 2 months ago

LHXqwq commented 4 months ago

Could you please explain how the cell_name in data.txt corresponds to the cell_type in label_info.pickle? I want to analyze my own data but am unsure how to construct the input data.

ruochiz commented 4 months ago

The cell_id column in the data.txt should be starting from 0, things like 0,1,2,3,4,5 And that should correspond to the order of cells, so the cell_type in the label_info.pickle should be organized accordingly.

Accompany0313 commented 3 months ago

Is the cell_id in chr1_exp1_nbr_0_impute.hdf5 in the same order as the cells in the label_info file? I use filelist.txt for my data.

ruochiz commented 3 months ago

yes, if you use file list, it would be the id starting from 0, in the same order as the cells in file list.txt