Step 1: Preparation
Download the following files:
Furthermore, you need Java installed on your computer.
Step 2: Launch PathVisio
Start PathVisio by going to the Download
page and clicking the download link (Binary installation). When asked to open or save the file, select open. After this step, when prompted to save a shortcut to your desktop, select cancel.
Step 3: Data import
The data is in the file macs_glucose_challenge.tsv. This is a file in tab-delimited text format. You can preview the data by opening it in a spreadsheet (Excel, OpenOffice, etc).
- While the file is open in a spreadsheet, you can examine the dataset. In this file metabolites are identified with a HMDB identifier. PathVisio can understand many different metabolite identifiers, a.o. CAS, HMDB, PubChem (CID), ChEBI and KEGG Compounds.
- Switch back to PathVisio. Select Data > Import expression data.
- For the input file, select macs_glucose_challenge.tsv.
- Leave the output file as it is.
- Make sure the gene database is set to metabolites_20180201.bridge (if not loaded already). Click Next.
- Make sure the data delimiter is set to “tab”. Click Next.
- Make sure the primary identifier column is set to “Column B”.
- Make sure the Use the same system code for all rows radio button is selected.
- Make sure the system code is set to “HMDB”.
- Right-click on the header of the third row and select First data row from the menu. This is to ensure that the first two rows are treated as header. The first two rows will be shaded yellow, to indicate that they will be used as header. Click Next. It may take a few minutes for the data to import.
When the import is finished, you should see a message like this:
97 rows of data were imported successfully
You may see a small set of exception; these exceptions are caused by metabolite identifiers that
are not recognized by BridgeDb. The BridgeDb metabolite database is based on HMDB, ChEBI, and Wikidata.
Usually this means that the metabolite can not be found in these database. However, if you add these identifiers
to Wikidata, then the next monthly WikiPathways release will support it.
When the Finish button becomes clickable, click it. A file named macs_glucose_challenge.pgex has now been created, this stores all experimental data.
Step 4: Create a color set
- Go to File > Open and select the file glucose_challenge.gpml that you’ve downloaded at the beginning of the tutorial.
- Go to Data > Visualization options. A dialog window pops up.
- Enable the check box Text Label. A small panel shows up, but you don’t need to change anything there.
- Enable the check box Expression as Color. A panel shows up.
- Mark the check box for log2_avg_30, log2_avg_60, log2_avg_90 and log2_avg_120.
- Create a new color set by clicking the tool icon in the bottom right and selecting “New”
- In the new dialog, select the Gradient check box.
- Select the red-yellow-green gradient.
- Make sure the values range from -1.0 to 0 to 1.0.
- Now the gene boxes on the pathway should have changed color based on their expression values. For example low measurements are green, high measurements are red, and unchanged measurements are yellow (This depends on the exact color options you selected).
Open other pathways. Which pathway has changed the most?
Step 5: Search for regulated pathways
Pathway enrichment analysis is best done against a large collection of pathways. You can download the collection
of human pathways aimed at data analysis. Unzip the
downloaded archive and remember the location (you need it in step 3).
The enrichment is then performed with the following steps:
- Go to Data > Statistics.
- In the Expression field, enter out the following:
- In the Pathway directory field, select the pathway directory that comes with the tutorial files you downloaded in the beginning.
- Press Calculate.
After the calculations have finished, you now get a list of pathways, ordered by how many genes that have a ttest of < 0.05 (i.e have a significant test for difference between timepoints 30 and 120 with a confidence level of 0.05)
In the result table you see the values for r, the number of genes that meet your criterion, and n, the total number of genes in the Pathway. From these values a percentage and a z-score are calculated. Note how the Z-score and percentages are related for different pathways.
Copyright (C) 2009 Kristina Hanspers, 2018 Egon Willighagen, Creative Commons Attribution 4.0 International