This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to annotate nodes in Cytoscape

Hi everyone,

Do you know cytoscape ? I have a network of 5900 nodes that I want to label them with the gene name (one column of my annotation table). Do you know how I can do that without having to do it manually ? I came accross this app that can be usefull AutoAnnotate but it doesn't work for me as it clusters the nodes before the annotation (and I just want the name inside the single nodes).

I also created filters to differentiate specific nodes. Do you know how to apply a style to a specific filter only ?

Thank you very much in advance, Sofia

software error

Thank you. That was what I was doing all this time. I tried again from scratch and it seems it works but I loose it when I change to organic layout. Actually I just understood that my problem is very stupid. When I zoom in A LOT I can see the label, otherwise I can not even if I change the size of the font. Not very practical... And not much I can do about it neither; Maybe the version 6.1 has a problem with that (because I did not notice that on the display with other versions).

Problem almost solved : the labels are not visible on the cytoscape session but when I save the image the labels are visible. I just have to take a look at the save images to edit my network correctly :)

Please use ADD COMMENT/ADD REPLY when responding to existing posts to keep threads logically organized. This comment belonged under answer provided by @Jean-Karim.

SUBMIT ANSWER should only be used for new answers for original question.

1 answer

Use the Style tab in the control panel and select the gene name column with passthrough mapping as node label property. See the styles docs.

Log in to answer this question.