Tutorial: Viewing your own data
Learn how to view your own data using data from the Chinese Glioma Genome Atlas (CGGA)
Last updated
Learn how to view your own data using data from the Chinese Glioma Genome Atlas (CGGA)
Last updated
This tutorial is made for those who have basic knowledge of how to use Xena. We will cover how to load your own data into a Xena hub on your computer. We will then view the data in the Xena Browser
We will be viewing RNAseq and clinical data from the Chinese Glioma Genome Atlas (CGGA).
To format the datasets you will need access to a spreadsheet application, such as Microsoft Excel.
To load the data into a Local Xena Hub you will need a computer where you have installation privileges.
To visualize the data, you will need basic knowledge of how to build and read a Visual Spreadsheet, how to filter samples, how to create a box plot in Chart View, and how to run a Kaplan Meier Analysis. To get this go through the Basic Tutorials, starting with Basic Tutorial: Section 1.
Part A: 10 min
Part B: 15 min
Part C: 10 min
Part A
Download data from CGGA
Use Microsoft Excel or another spreadsheet application to make small formatting adjustments. These adjustments are only to enable Kaplan Meier analyses. Data can be visualized as is.
Part B
Download and install a Local Xena Hub
Load data into the Xena Hub on your computer
Part C
Make a visual spreadsheet from the data in the Xena Hub on your computer
Create a box plot
Run a Kaplan Meier Analysis
We will start with downloading the files from the CGGA. These files already conform to our data file requirements. This is because they are matrices that have sample IDs along one axis and probe, gene, or clinical data names along the other. Additionally, the files are tab-delimited.
For more information see:
While we can load the files exactly as is, we will perform a small format adjustment so that we can create a Kaplan Meier plot. Our Kaplan Meier analyses need two columns of clinical data to create a plot: the event/censor column and the time to that event/censor. These columns need to be specially named so that our Kaplan Meier analysis recognizes them. For Overall Survival, the column names need to be 'OS' and 'OS.time'.
For more information on other supported columns for our Kaplan Meier analysis see:
Genomic and Clinical data to load into Xena
Go to http://www.cgga.org.cn/download.jsp and scroll to the DataSet ID mRNAseq_693.
Click to download the 'Clinical Data' and 'Expression Data from STAR+RSEM'. Unzip the files. The resulting files should be named 'CGGA.mRNAseq_693.RSEM-genes.20200506.txt' and 'CGGA.mRNAseq_693_clinical.20200506.txt'.
Open CGGA.mRNAseq_693_clinical.20200506.txt
in a spreadsheet application like Microsoft Excel. If the spreadsheet application asks, these files are tab-delimited.
Rename the column header 'OS' to be 'OS.time'.
Rename the column header 'Censor (alive=0; dead=1)' to be 'OS'.
Save and close the file.
There is no need to open CGGA.mRNAseq_693.RSEM-genes.20200506.txt since it is ready to be loaded into the Local Xena Hub on your computer as is.
1. Click 'VIEW MY DATA' at the top of the screen. You should see a screen similar to this:
2. Click 'Open UCSC Xena' to set your computer up to automatically open the Xena Hub when you come to this page in the future.
3. Click on 'download & run a Local Xena Hub' to download the correct installer for your computer.
4. Double-click the installer to install the Xena Hub on your computer. Follow onscreen instructions, which vary by operating system.
Please see our FAQ/Troubleshooting Guide or contact us if you encounter any problems.
1. Click 'VIEW MY DATA' at the top of the screen. You should see a screen similar to this:
2. Wait for 30 seconds. If you allowed your browser to open the Xena Hub every time you come to this screen, then it will open the Xena Hub and this dialog box will close. If you did not, you will need to go to your Applications Folder and open UCSC Xena yourself
Whether you have viewed your own data before or not, you should arrive at a screen like this:
If you have already loaded data previously, you may see datasets and cohorts listed at the bottom of the screen
Click the 'Load Data' button.
Click 'Select Data File', choose 'CGGA.mRNAseq_693_clinical.20200506.txt', and click 'Next'.
Choose 'Phenotypic Data' and click 'Next'.
Choose 'The first column is sample IDs' and click 'Next'
Choose 'These are the first data on these samples.', change the study name to 'CGGA', and click 'Import'.
Choose 'Load more data'
Click 'Select Data File', choose
'CGGA.mRNAseq_693.RSEM-genes.20200506.txt', and click 'Next'.
Choose 'Genomic Data' and click 'Next'.
Confirm selection of 'The first row is sample IDs' and click 'Next'
Choose 'I have loaded other data on these samples and want to connect to it.', select 'CGGA' from the drop down, and click 'Import'.
Note that it can take several minutes for the RNAseq data to load since it is larger.
We will look at the chromosome 1p-19q co-deletion in Chinese glioma patients and compare this to IDH1 expression.
Note that we are unable to provide links to these ending screenshots because we do not allow users to create bookmarks when viewing data from their own Local Xena Hubs. This is to protect the privacy of your data. For more information see our Bookmarks help section.
Click on 'Visualization' in the top menu bar.
Type 'CGGA', choose 'CGGA' as the study and click 'To first variable'.
Enter the gene 'IDH1', choose 'CGGA.mRNAseq_693.RSEM-genes.20200506.txt', and click 'To second variable'
Choose 'Phenotypic', click '1p19q_codeletion_status', and click 'Done'
The dataset authors annotated samples without a 1p/19q co-deletion status with 'NA'. To remove these samples, type 'NA' in the samples search bar and choose 'Remove Samples' from the filter actions menu drop down.
Compare IDH1 expression between samples with a 1p/19q co-deletion and those that do not. To do this, click on the column menu for column B (IDH1 expression) and choose 'Charts & Stats'.
Choose 'Compare Subgroups'.
Click the dropdown for 'Show data from' and choose 'column B: IDH1 - CGGA.mRNAseq_693.RSEM-genes.20200506.txt'.
Click the dropdown for 'Subgroup samples by' and choose 'column C: 1p19q_codeletion_status - CGGA.mRNAseq_693_clinical.20200506.txt'.
Click 'Done'.
Close the chart using the 'x' in the upper left corner.
Run a Kaplan Meier analysis comparing patients with high IDH1 expression to those with low IDH1 expression. To do this, click on the column menu for column B (IDH1 expression) and choose 'KM plot'