Hi,
In Cytoscape it's easy to select first neighbors of selected nodes in a network. Does anybody know if there's a way to select only the first neighbors which are shared by more than one selected node (i.e. at least 2 nodes)?
Thanks!
Hi,
In Cytoscape it's easy to select first neighbors of selected nodes in a network. Does anybody know if there's a way to select only the first neighbors which are shared by more than one selected node (i.e. at least 2 nodes)?
Thanks!
I don't know Cytoscape very well, but I think you can use the 'firstNeighbors' command to choose the nodes and then filter out neighbors shared by only one selected node? I think the usage should be:
firstNeighbors ( nodes {node array or IDs} [ ignoreFilteredOut ] {true, false} )
Please let me know if this works as I can see myself using this too...
Ok, it's quite easy, just a matter of setting up a couple of filters. I have used the "Old" filters (Select --> Old filters), because the new filters interface is quite cumbersome...
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thanks but... hang on a second, I didn't even know there was a command line interface for Cytoscape... where am I supposed to enter that code?
Actually I was more looking for a way to do this by using the standard Cytoscape GUI. Am I missing something obvious here?
Sorry I don't know more to help you. I just haven't had the right data to force me to sit down and really learn Cytoscape yet. There's definitely command line integration.
The new documentation for Cytoscape 3 is now up with numerous updates this week. Perhaps the Cytoscape Discussion List would be a good place to turn. Wish I knew more to help you...