Closed taraeicher closed 1 year ago
Thanks for catching this and report it!
@yihangx Can you also add a test for this. We should have caught this before pushing the code.
Ah, main dev is on vacation. I'll look into it...
@AlexanderPico I could not reproduce this locally. From Tara's error message, the network is not specified.
@AlexanderPico @yihangx Thank you for your quick response. Can you reproduce it with the following call:
mapVisualProperty("node shape", "group", "d", c("TF", "Gene"), c("ELLIPSE", "RECTANGLE"))
@taraeicher This call works for me if I change "group" to my own node column, since I don't have this column in my network. Can you share your workflow or Cytoscape session file with me? You can mail me your session file to yihang.xin@gladstone.ucsf.edu if you want. Thanks!
@taraeicher I installed netZooR packages and ran https://github.com/netZoo/netZooR/blob/ac2288424300dad5455ff079ab29f92fc6c4a3c3/vignettes/pandaRApplicationinGTExData.Rmd#L143 this vignettes. Everything works perfect for me.
@taraeicher I think I know what is happening here. When you run this line, the network is not selected in Cytoscape for some reasons. You can add this line to manually set current network to avoid this. setCurrentNetwork('LCL')
Thank you @yihangx , that solves the problem!
Our R package makes the following function call, which expects that the user has Cytoscape running on their local machine:
However, the call fails with the following stack trace.
Looking at your code, it appears that a change was made 2 months ago requiring users to input a remote URL when calling
mapVisualProperty
, as a fix to Issue #212.Will you please restore the functionality of mapVisualProperty prior to the Issue #212 fix when the user does not input a remote URL?