16 November 2019 0 10K Report

From an R function (cnetplot) I've obtained a network plot that does not look very nice which I've provided in the attached folder.

Therefore, I extracted the data from the R object and wrote a script to create an equivalent network data file that is readable by Cytoscape. The equivalent plot (in the attached folder) from Cytoscape looks much better but the problem is that I am not able to add legends based on the node sizes in Cytoscape as the R function did. I tried with Legend Creator app in Cytoscape but couldn't do it.

In the attached folder, I've also provided original data and R code to reproduce the plots. Just run the R_code.R file.

I looked into this link https://stackoverflow.com/questions/49814286/mapping-nodes-sizes-and-adding-legends-in-cytoscape-network, but in that case questioner already was able to load the node sizes as legends in Cytoscape and moreover, he/she used a python package.

Any suggestions will highly be appreciated

More Wasim Aftab's questions See All
Similar questions and discussions