Open heralden opened 4 years ago
@uosl The first 2 steps seem simple enough. Its steps 3 and 4 that will require more work. If it's fine, I'd like to give this a try. I think it would be a good start to the Datavis project that I intend to work on. I hope this issue isn't redundant now?
@jshreyans This issue still applies and is a welcoming feature. Please go ahead and give it a try!
Right now this visualization only supports the report page for genes or proteins. In this mode, it will run this query (filling in the symbol for gene or protein) and display a network visualization using Cytoscape.js, showing the current gene or protein in the middle, with lines representing interactions to various other genes or proteins. (You can also click on the interaction lines or nodes and more information will be displayed.)
We want this tool to be also available on the list page, where it should display all the genes or proteins in the list, with interaction lines to other genes or proteins which they interact with.
To do this we will need to:
"ids"
to theaccepts
array in config.json{ "class": "Gene", "format": "ids", "value": [ 100, 101, 102 ] }
where value is an array of gene IDs)To achieve this, we will probably need to work a lot with the code in cytoscape-intermine (including a modification to the query used when on the list page, which should be to query for any in a list of gene symbols, instead of just one specific gene symbol).