CytoCommunity icon indicating copy to clipboard operation
CytoCommunity copied to clipboard

Get Node _NodeAttr.txt and _GraphIndex.txt files

Open Pacomito opened this issue 2 years ago • 2 comments

Hello,

Thank you for providing this interesting tool,

I surely missed something, but I did not understand from the tutorial how I can create the Node Attribute.txt and Graph Index.txt files.

Could you give me hints on how to generate those files ?

Thank you, Pacôme

Pacomito avatar Jun 22 '23 15:06 Pacomito

Hi, thanks for pointing out this issue. I'll add some details in the tutorial.

The node_attribute.txt stores a matrix with rows representing cells and columns representing cell types. For example, assume you have 20 cell types in your dataset, you'll have 20 columns. For each cell (row), the column of its cell type will be 1 and other columns are set to 0s.

The graph_index.txt can be generated based on your image names listed in your ImageNameList.txt. The first image will have graph index of 0 stored in its graph_index.txt.

huBioinfo avatar Jun 24 '23 05:06 huBioinfo

Thank you,

And what about the _GraphLabel.txt file ?

Pacomito avatar Jun 26 '23 09:06 Pacomito