A
A
Loading Network
Start Cytoscape and load the network . Apply the force-directed layout to organize the layout of the nodes. Select the "Layout->Cytoscape Layouts->Force-Directed Layout" menu. The network should now look similar to this:
Download expression data and unzip it. Using your favorite text editor, open the file Pellegrini_et_al_Data.txt. The first few lines of the file are as follows:
Gene Symbol A2M A2ML1 A2ML1 Entrez id 2 144568 144568 Probeset 217757_at CREB kd 42.24 control 57.45 67.95 160.05 206.47 183.44 p value 0.4 0.11 0.81 fold change 1.5 0.58 0.95 Sign CREB binding yes
1553505_at 1564307_a_at
You should note the following information about the file: 1. 2. 3. 4. 5. The first line consists of labels. All columns are separated by a single tab character. The first column contains node names, and must match the names of the nodes in your network exactly! The second column contains Entrez Gene IDs. The third column contains Affymetrix probe set IDs. This column is optional, and the data is not currently used by Cytoscape, but this column may be useful for analysis in other microarray analysis tools. 6. The remaining columns contain experimental data; average expression for experimental and control groups, p value and fold change for the comparison, and data on whether or not the gene binds CREB. See the manuscript [3] for details on the data generation. NOTE: The expression data used in this example has been pre-processed to work with the interaction network used. The data is a composite of data files from Pellegrini et al, BMC Cancer, 2008 [3]. Under the File menu, select Import Attribute from Table (Text/MS Excel). Click "Node" for the type of attribute to import. Select the file Pellegrini_et_al_Data.txt. Click the "Text File Import Options" check box. Make sure the "Tab" check box in the "Delimiter" section is selected and that no other check box under "Delimiter" is selected. The preview should indicate that it is importing multiple columns of data. Click the "Transfer first line as attribute names" check box in the "Attribute Names" section. The preview should now show be using the first row of the input file as column names and the import window should look like the image below. Click the "Import" button to import the attribute data.
Now we will use the Node Attribute Browser to browse through the expression data, as follows. Select a node on the Cytoscape canvas by clicking on it. In the Node Attribute Browser, click the Select Attributes button , and select the attributes "fold change" and "p value" by left-clicking on them. Right-click to close the menu. Under the Node Attribute Browser, you should see your node listed with their expression values, as shown.
Repeat for the second black triangle and slide it so that its value is close to 0.5. This will change the full gradient from red to white. Click on the left most white triangle and slide it towards the center of the scale so that its value is close to 1. Click the Add button to add a new white triangle to the scale. Double-Click this new triangle and select a bright green color. Slide it so that its value is close to 2. Double-Click the far right white triangle and select the same bright green color. This should produce a full Red-White-Green Color gradient like the image below. Close the gradient adjustment dialog and verify that the nodes in the network reflect the new coloring scheme.
This will produce a drop-down menu of available mapping types. Select "Continuous Mapping". This will create an empty icon in the "Graphical View" row of the Node Shape section. Click on this icon. This action will pop-up a continuous shape selection dialog.
Click the Add button. This action will split the range of values with a slider down the middle with a node shape icon to either side of the slider. Double-Click on the left node icon (a circle). This will pop-up a node shape selection dialog. Choose the Rectangle shape and click the Apply button. The continuous shape selection dialog should now show both a square and a circle node shape icon. Click on the black triangle and move the slider to the left, to slightly lower that 0.05, our threshold for significance.
Tutorial:Basic Expression Analysis in Cytoscape-Human Close the continuous shape selection dialog and verify that some nodes have a square shape and some nodes have a circular shape.
Filter Nodes
It is possible to filter any network in Cytoscape based on either node or edge attributes. Here, we filter the network based on high and low fold change between the two groups. Click the Filters tab in the Control Panel. Click the Attribute/Filter chooser in the Filter Definition and choose "node.fold change". Click the Add button in the Filter Definition section to add the selected attribute to the filter. This action will create a slider for the fold change in the filter. Double-click on the slider to select cutoffs. Set the low bound to 2 and click OK.
Now, expand the selection to first neighbors of selected nodes by clicking Select Nodes First Neighbors of Selected Nodes. Create a new network by clicking New Network From Selected Nodes, All Edges. Apply a force-directed layout to the new network by selecting Layout Cytoscape Layouts Force-Directed Layout. Navigate to the Network tab in the Control Panel. Rename the new network by right-clicking on it and selecting Edit Network Title. Type in "upregulated". The new network should now look like this:
Repeat the Filter for down-regulated genes with fold change under 0.5. Name the second subnetwork "downregulated".
Tutorial:Basic Expression Analysis in Cytoscape-Human The "downregulated" network should look like this:
10
By examining the network, we can see that CREB interacts with both up- and down-regulated nodes. CREB is known to act both as a transcriptional repressor and transcriptional activator. If you search for CREB in the two subnetworks representing all up- and down-regulated nodes respectively, you will see that CREB is present in both networks.
Exploring Nodes
In the "HumanInteractome_subset" network, right click on the node CREB1. Select the menu LinkOut Entrez Gene. This action will pop-up a browser window and search the Entrez Gene database for CREB.
References
[1] http:/ / opentutorials. rbvi. ucsf. edu/ index. php?title=Tutorial:Basic_Expression_Analysis_in_Cytoscape-Human& ce_slide=true& ce_style=cytoscape [2] http:/ / opentutorials. rbvi. ucsf. edu/ index. php/ File:Basic_Expression_Analysis_in_Cytoscape-Human. pdf [3] http:/ / www. ncbi. nlm. nih. gov/ sites/ ppmc/ articles/ PMC2647550/ [4] http:/ / www. ncbi. nlm. nih. gov/ pubmed/ 15753290
11
License
Attribution-Noncommercial-Share Alike 3.0 Unported http:/ / creativecommons. org/ licenses/ by-nc-sa/ 3. 0/