Help:DataVisualizationInCytoscape
From WikiPathways
(Difference between revisions)
(Added lit ref for data) |
Current revision (22:03, 9 November 2018) (view source) (commented out content) |
||
(12 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | This tutorial | + | '''This tutorial has been replaced by the [https://cytoscape.org/cytoscape-tutorials/protocols/wikipathways-app/#/title WikiPathways App Tutorial].''' |
- | + | <!-- | |
= Installation = | = Installation = | ||
=== Cytoscape === | === Cytoscape === | ||
Line 9: | Line 9: | ||
* In Cytoscape, open the '''App Manager''' under '''Apps > App Manager'''. | * In Cytoscape, open the '''App Manager''' under '''Apps > App Manager'''. | ||
- | [[image:AppManager.png|left|]]<br clear="all" /> | + | [[image:AppManager.png|650px|left|]]<br clear="all" /> |
* In the search field, type ''WikiPathways'' to search for the WikiPathways app. Select the WikiPathways app from the results and click '''Install'''. | * In the search field, type ''WikiPathways'' to search for the WikiPathways app. Select the WikiPathways app from the results and click '''Install'''. | ||
- | * | + | * When the installation is complete, click '''Close''' to exit the '''App Manager'''. |
Alternatively, Cytoscape apps can be installed directly from the Cytoscape App Store. If Cytoscape is open on your computer, you can click '''Install''' on the relevant app page, and the app will install. | Alternatively, Cytoscape apps can be installed directly from the Cytoscape App Store. If Cytoscape is open on your computer, you can click '''Install''' on the relevant app page, and the app will install. | ||
[http://apps.cytoscape.org/apps/wikipathways WikiPathways app] | [http://apps.cytoscape.org/apps/wikipathways WikiPathways app] | ||
- | |||
- | |||
= Pathway import and mapping = | = Pathway import and mapping = | ||
Line 26: | Line 24: | ||
Based on over-representation analysis, two pathways have been identified as significant for this dataset. To start, we will open these pathways. | Based on over-representation analysis, two pathways have been identified as significant for this dataset. To start, we will open these pathways. | ||
- | * | + | * Locate the search field at the top of the Network Panel and choose WikiPathways from the pulldown options. |
+ | * Type in ''Electron Transport'' and hit '''Enter''' or click the icon to search. | ||
+ | * In the results dialog, check the box for '''Only''' and select '''Mus musculus''' in the species drop-down. | ||
+ | * In the pathway results, select the Electron Transport Chain and either double-click on the entry to open, or click on the '''Import as Pathway''' button at the bottom right. Once opened, the pathway should look like this: | ||
- | [[image: | + | [[image:WPSearchResults.png|900px|left|]]<br clear="all" /> |
- | + | Once the pathway opens in Cytoscape, it should look like this: | |
- | + | ||
- | + | ||
- | |||
- | + | [[image:ElectronTransport.png|1100px|left|]]<br clear="all" /> | |
- | |||
- | * Repeat the steps above to import the '''Proteasome degradation''' pathway. | + | * Repeat the steps above to search for ''Proteasome'' and import the '''Proteasome degradation''' pathway. |
* You should now have both pathways open in Cytoscape: | * You should now have both pathways open in Cytoscape: | ||
- | [[image:PathwaysInCytoscape.png|left|]]<br clear="all" /> | + | [[image:PathwaysInCytoscape.png|1100px|left|]]<br clear="all" /> |
- | === | + | === Identifier Mapping === |
- | + | In the Table Panel you can see that the gene identifiers in these pathways from Ensembl. It turns out that the experimental data we will be using in this example is also annotated with Ensembl identifiers. But this is not always the case! Fortunately, it is very easy to get a new column of identifiers in any of the major types. In this example, we will go ahead and add a column of Entrez Gene IDs to demonstrate this functionality. | |
- | * | + | * In the Table Panel, right click on the column header '''XrefId''' which contains the identifiers for the data nodes. |
+ | * Choose '''map column''' to bring up the ID Mapping dialog | ||
+ | * Select the following: | ||
+ | ** Species: '''Mouse''' | ||
+ | ** Map from: '''Ensembl''' | ||
+ | ** To: '''Entrez''' | ||
+ | * Then click '''OK''' | ||
+ | * Now you have a new column of Entrez Gene IDs (all the way to the right) | ||
- | + | '''Note that the WikiPathways app automatically adds Ensembl identifiers to pathways upon import. This means that manually annotating the pathway is only necessary if the data is annotated with a system other than Ensembl.''' | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
= Data import = | = Data import = | ||
Line 99: | Line 65: | ||
=== Import data to Cytoscape === | === Import data to Cytoscape === | ||
- | * To import the experimental data, select '''File > Import > Table | + | * To import the experimental data, select '''File > Import > Table from File...'''. Select the ''starvation_dataset_trans.txt'' file and click '''Open'''. |
* Under '''Where to Import Table Data''', choose '''To selected networks only'''. | * Under '''Where to Import Table Data''', choose '''To selected networks only'''. | ||
* To select both pathways, click the '''Select All''' button. | * To select both pathways, click the '''Select All''' button. | ||
- | * Under '''Key Column for Networks''', select ''' | + | * Under '''Key Column for Networks''', select '''XrefId''' (the column with Ensembl IDs). |
* In the '''Preview''' section, click the expand symbol at the top of the '''ensid''' column. This will open an interface where you can define the details of the column, such as data type etc. | * In the '''Preview''' section, click the expand symbol at the top of the '''ensid''' column. This will open an interface where you can define the details of the column, such as data type etc. | ||
* For the purposes of this tutorial, click the key symbol. This defines the '''ensid''' column as being the key column, which will be used to link the data to the pathways. | * For the purposes of this tutorial, click the key symbol. This defines the '''ensid''' column as being the key column, which will be used to link the data to the pathways. | ||
- | [[image:DataImport.png|left|]]<br clear="all" /> | + | [[image:DataImport.png|600px|left|]]<br clear="all" /> |
* Click '''OK''' to import the data. | * Click '''OK''' to import the data. | ||
Line 121: | Line 87: | ||
[[image:ContinousDefault.png|left|]]<br clear="all" /> | [[image:ContinousDefault.png|left|]]<br clear="all" /> | ||
- | * Double-click on the default | + | * Double-click on the default color continuum to customize it. |
- | * | + | * Set the min/max values by clicking the '''Set Min and Max...''' button. Set Min to 0 and Max to 0.05. |
- | * | + | * Set the colors for both min and max by double-clicking on the small triangles and choosing a shade of green. |
- | + | ||
* For the large right-most triangle, set the color to a pale gray color. | * For the large right-most triangle, set the color to a pale gray color. | ||
- | |||
- | |||
- | |||
You now have a color scheme where nodes with an ANOVA value of 0.05 or below is colored green, and all other measured nodes are colored gray. Nodes that are not found will simply be white. | You now have a color scheme where nodes with an ANOVA value of 0.05 or below is colored green, and all other measured nodes are colored gray. Nodes that are not found will simply be white. | ||
Line 141: | Line 103: | ||
[[image:ExportPathway.png|left|]]<br clear="all" /> | [[image:ExportPathway.png|left|]]<br clear="all" /> | ||
+ | |||
+ | --> |
Current revision
This tutorial has been replaced by the WikiPathways App Tutorial.