tmuetze / Bioconductor_RCy3_the_new_RCytoscape

Update RCytoscape to work for Cytoscape 3.0 and higher using CyREST
16 stars 10 forks source link

Edge rules #33

Open Vessy opened 8 years ago

Vessy commented 8 years ago

I have issues with applying edge rules (specifically setEdgeLineWidthRule - nothing changes, and setEdgeColorRule - all edges become white). I've seen that somebody raised this issue before and that it is marked as solved, but I was not able to figure out the solution (I tried to define rules before defaults - rules didn't work and defaults were applied).

All node related rules worked as expected.

I'm using R version 3.3.1 (2016-06-21), Cytoscape version: 3.4.0, Java version: 1.8.0_101, and cyREST version: 3.3.4. I tried with RCy3 versions 1.2.0 and 1.2.1

Full code and session info are available at https://gist.github.com/Vessy/6c9567f26f397320ae849445ac92a981

Thanks!

AlexanderPico commented 6 years ago

Hi Vessy,

The RCy3 package has been overhauled and the latest version available from bioconductor performs these functions without error. See renamed functions:

setEdgeLineWidthMapping() setEdgeColorMapping()

http://bioconductor.org/packages/release/bioc/html/RCy3.html

File any new issues here: https://github.com/cytoscape/RCy3/issues