Yes, you can do this sort of thing in Cytoscape. Importing the network and coloring the edges based upon P-values would be pretty straightforward, but you would need to do a little programming, probably via a small plugin, to make the sizes of the disease nodes proportional to the number of edges they have. This is because you will have two kinds of nodes -- for proteins and diseases, respectively, so the visual mapping is a little more complicated than can be handled in the VizMapper user interface. What you'd want to do is create the network, building edges for each protein-disease pair, with an edge attribute for the p-value. Each node should have a 'node-type' attribute, identifying it as either a 'protein' or a 'disease'. Then you would need to calculate a node attribute, call it 'connectedness', that can be used to create a continuous visual mapping to node size. My suggestion is that if the node-type is 'protein' then set 'connectedness' to 1, if it's a 'disease' then set 'connectedness' to the number of edges for the node. Then you need to create a visual style that has a continuous mapping from 'connectedness' to node size.
There is a plugin developer's tutorial on the Cytoscape wiki at
http://cytoscape.wodaklab.org/wiki/plugin_developer_tutorial, which describes how to do some of these things and has example code.
There may be simpler ways to do this, perhaps other people on this list may have suggestions.
Let me know if this is helpful.
AllanK
Allan Kuchinsky
Principal Project Scientist
Molecular Tools
Agilent Laboratories
Agilent Technologies, Inc.
Santa Clara, CA, USA
408.553.2423
allan_k...@agilent.com
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To post to this group, send email to
cytoscape...@googlegroups.com.
To unsubscribe from this group, send email to
cytoscape-helpd...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cytoscape-helpdesk?hl=en.