Dear all,
I am happily using RCytoscape, but I have a problem with saving the
graphs that were generated using RCytoscape. Specifically, node colors
are not saved when RCytoscape session is saved. Is this a common
problem, or is there something strange with my setup? I am using
Cytoscape 2.8.1 and RCytoscape 1.6.3. The colors have been generated
as follows:
colors <- c( "#084594", "#2171B5", "#4292C6", "#6BAED6", "#9ECAE1",
"#C6DBEF", "#EFF3FF",
"#ffffff", "#FEE5D9", "#FCBBA1", "#FC9272", "#FB6A4A",
"#EF3B2C", "#CB181D", "#99000D" )
brkpts <- c( -1.0000000, -0.8333333, -0.6666667, -0.5000000,
-0.3333333, -0.1666667, 0.0000000, 0.1666667, 0.3333333, 0.5000000,
0.6666667, 0.8333333, 1.0000000 )
setNodeColorRule( cw,
node.attribute.name= "foo", colors= colors,
mode= "interpolate", control.points= brkpts )
Also, when setNodeColorRule is called, the colors do not change in
Cytoscape until I click one of the layout buttons.
Kind regards,
January
--
-------- Dr. January Weiner 3 --------------------------------------
Max Planck Institute for Infection Biology
Charitéplatz 1
D-10117 Berlin, Germany
Web :
www.mpiib-berlin.mpg.de
Tel :
+49-30-28460514
Fax :
+49-30-28450505