Question: How to show an attribute next to the label in Cytoscape
0
gravatar for Xiaokang ZH
6 months ago by
Xiaokang ZH40
Xiaokang ZH40 wrote:

The label shown on the node in Cytoscape is the name of that node. Can I also show an attribute next to the label?

The context is: in my network, each node is a gene. When I originally import the network, the used name is the gene symbol which will be shown on the network as the label of that node. But I also want to put gene ID (it's an attribute column in the node table) next to the node, so that in the figure you have both gene symbol and gene ID for each node.

cytoscape • 371 views
ADD COMMENTlink modified 6 months ago by Wietje210 • written 6 months ago by Xiaokang ZH40
1
gravatar for Wietje
6 months ago by
Wietje210
Germany
Wietje210 wrote:

I suppose the easiest way to display gene symbol + gene ID together is to prepare an input table that has 1 extra column with both IDs next to each other. Load this table into Cytoscape, go to "Style" and choose "Label", click on the three little dots and select the column of your own making.

ADD COMMENTlink written 6 months ago by Wietje210
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1911 users visited in the last hour