![cytoscape tutorial cytoscape tutorial](https://image.slidesharecdn.com/bioinformaticssummitlecture2-140411192441-phpapp02/95/cytoscape-tutorial-session-2-at-utkbrin-bioinformatics-summit-2014-4112014-57-638.jpg)
We can then extract this sub-network using the same technique we used in Step 3.Īs you may have gathered, we’ve gotten to the point where it makes increasingly less sense to work with both films andactors in the same graph (which is to say, to work with a bimodal graph). By setting the degree scrubber to 13, we can select only those films that have at least 13 actors or only those actors who have appeared in at least 13 films. We don’t have a ton of attributes that make sense as filters, but let’s filter our network by degree.
![cytoscape tutorial cytoscape tutorial](https://image.slidesharecdn.com/bioinformaticssummitlecture2-140411192441-phpapp02/95/cytoscape-tutorial-session-2-at-utkbrin-bioinformatics-summit-2014-4112014-58-638.jpg)
You can stack filters on top of each other, or even chain them together, so that one filter’s output becomes the input for the next filter. The topology filter allows you to select nodes with a certain number of neighbors a certain distance away. The degree filter is a bit simpler it allows you to select nodes that meet a certain threshhold for degree centrality. The column option allows you to use attributes - like those you included in your nodes list - to filter nodes and edges. To begin using these capabilities, choose the Select pane on the left-hand control panel, and then click the + sign to indicate that you’ll choose an attribute that you’ll use to select nodes.Īfter you click the + sign, you’re presented with another of options that you can use to filter. Selecting from attributesĬytoscape allows you to select nodes and edges in sophisticated ways. It stacks on top of your main network graph, and don’t worry - those extracted nodes are still present in your main graph. The result is a new network made just from the nodes you’ve selected. Just click the New Network from Selection button that’s just to the left of the “neighbor-nodes” button. That’s just as easy to do as the previous step.
![cytoscape tutorial cytoscape tutorial](https://image.slidesharecdn.com/2015cytoscape3-150519192514-lva1-app6892/95/2015-cytoscape-32-tutorial-6-638.jpg)
We can make our selection easier to see and work with if we extract it from our network diagram. The result, in my case, is that all of the actors who appeared in The Gunsaulus Mystery are highlighted, along with the film itself.
![cytoscape tutorial cytoscape tutorial](https://image.slidesharecdn.com/bioinformaticssummitlecture2-140411192441-phpapp02/95/cytoscape-tutorial-session-2-at-utkbrin-bioinformatics-summit-2014-4112014-77-638.jpg)
Just select the “neighbor-nodes” icon (it looks like two houses) that appears above your network graph. In many cases, you’ll want to select not just a single node, but those nodes that are directly connected to it. Perhaps this is obvious, but the yellow highlighting means the node is selected. In this case, Cytoscape is highlighting my node for The Gunsaulus Mystery, a 1921 Oscar Micheaux film (lost, alas!). This aspect of Cytoscape is fairly straightforward: If you use the search box to search for a particular node, Cytoscape will automatically highlight it. I’ll assume you’ve completed the previous two tutorials and have a network with nodes that have attributes of some kind. In this tutorial, we’ll look at Cytoscape’s built-in functions for using various criteria to extract only parts of your graph.