cytoscape compare node centralities /

Filename Size Date modified Message
cytoscape
figures
old
report
492 B
Fix: create visual style if it doesnt exist
934 B
Fix: improved the README, including instructions and description of the pipeline
4.9 KB
Add: using cst-table to put legend and distribution on the same height
1.4 KB
Fix: Legend with correct size
63.2 KB
Add: lower and upper parameters for create_legend. Black and white scale
3.6 KB
Fix: creating new visual styles from the default one

Compare Node Centralities with Cytoscape

This is an example of script to automatize Cytoscape. In this case, I have calculated different measures of node centralities in a network (thanks to the Centiscape plugin), and automatically generated a report to show the differences between them.

Pipeline:

  • create a network on Cytoscape
  • use the Centiscape plugin to calculate node centralities
  • install and activate the Cytoscape RPC plugin
  • Documentation for the Cytoscape RPC plugin and python: https://wiki.nbic.nl/index.php/CytoscapeRPC_Python_Example python scripts for Cytoscape
  • run the script
  • the plots will be generated in the figures/ directory
  • legends and histograms of distribution are generated with python's matplotlib (I couldn't find how to export the legend from RPC, and in any case, Cytoscape's legend looks ugly)