This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Trouble with Cytoscape color and node-size atttribute

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 answer

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

Log in to answer this question.