Correlating Node Size With The Amount Of Edges In Cytoscape
2
3
Entering edit mode
9.6 years ago
toshnam ▴ 640

Hi all,

I'm trying to draw a protein interaction network using Cytoscape. I have a .sif file only.

So, I want to correlate node size to the amount of edges in network. I guess I need an extra files about node and attribute for it. I want to know the essential file list and examples for it.

Thanks.

cytoscape • 13k views
ADD COMMENT
0
Entering edit mode

many plugins output the degree of your nodes to a nodeAttribute. This can be used to size your nodes

ADD REPLY
6
Entering edit mode
9.6 years ago
Duff ▴ 660

Hi tosnam

Open your network in Cytoscape and select the Network Analysis plugin.

Run it and save the data somewhere (you should see that option in the bottom left of the post analysis dialogue).

Go to VizMapper and select Node Size, double click on it to create a mapping.

From the list of potential mappings select Degree and in the Mapping type select Continuous.

You should now be able to set the node size proportionally to the degree (use the sliders and experiment in the setting dialogue).

If you can't do this try re-installing Cytoscape or if you're running linux make sure it's using the right (i.e. Sun / Oracle) Java and not e.g. OpenJDK / IcedTea. This has given me trouble before.

One other tip. Open only the network you want to work on. If open more than one network then settings seem to go astray (well they do for me anyway).

Best

d

ADD COMMENT
0
Entering edit mode

Really thank you for your kind comments. :-)

ADD REPLY
0
Entering edit mode

I can't find the "Network Analysis" plugin. Has it changed names?

ADD REPLY
2
Entering edit mode
ADD COMMENT
1
Entering edit mode

Thank you for your answer. I already read it, but can't set node size based on the degree of connectivity of the nodes. When I set node size using VizMapper, all nodes were changed to same size based on the setting value not the degree of connectivity. Can you tell me how to do that through your experiences or some examples?

ADD REPLY
1
Entering edit mode

Short answer: find a plugin that does it or write one yourself.

ADD REPLY

Login before adding your answer.

Traffic: 1237 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6