Trouble with Cytoscape color and node-size atttribute
1
0
Entering edit mode
4.6 years ago
mrinsmrids • 0

Hi! So I am working with a particular .CSV file dataset and trying to map out network from it.Its a .csv file with the nodes as producers and the target as the products it produces. I want to keep a range of the node size depending on the density of the cluster (as in , for small clusters, the node size must be small whereas for larger clusters, the node size must be enhanced, which highlights the significance of the cluster).It should also vary the color of the nodes depending on the density of the cluster.I dont seem to know how to possibly do thisin Cytoscape.I have done that in GEPHI.But, in Cytoscape it seems to be whole lot harder.Could anyone tell me how to go about this problem?

This is how the network looks like

image

Cytoscape • 1.3k views
ADD COMMENT
0
Entering edit mode
4.6 years ago
scooter ▴ 620

Sure! It's actually pretty easy. First, you need to tell us how you are calculating the density of each cluster. If that's a column in the node table, then you can just map that value to the node size and color by setting up a continuous mapping from that column to the visual attribute you want. If you don't have a value in the column, you can do it manually, but there are enough different clusters in your network that I wouldn't recommend that approach. The alternative approach I would recommend is to add a column with the density value for each cluster (it would be the same for all nodes in the cluster) and then use that for your mapping. The Basic Data Visualization tutorial describes how to do that mapping in some detail.

-- scooter

ADD COMMENT

Login before adding your answer.

Traffic: 2017 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