User Help Pages
  • Welcome to the Help Pages for UCSC Xena
  • Tutorials and webinars
    • Webinars
    • Basic Tutorial: Section 1
    • Basic Tutorial: Section 2
    • Basic Tutorial: Section 3
    • Advanced Tutorial: Section 1
    • Advanced Tutorial: Section 2
    • Tutorial: Tumor vs Normal
    • Tutorial: Viewing your own data
    • Live examples
  • How do I ...
    • How do I make a KM plot?
    • How do I compare tumor vs normal expression?
    • How do I remove null data (gray lines) from view?
    • How do I make subgroups?
    • How do I make more than 2 subgroups?
    • How do I make subgroups with geneA high and geneB high?
    • How do I compare gene expression between subgroups?
    • How do I compare gene expression between different cancer types?
    • How do I remove duplicate samples from a KM plot?
    • How do I view multiple types of cancer together?
    • How do I filter to just one cancer type
    • How do I view my data with the data from TCGA?
    • How do I change the color of a column?
    • How do I interact with the tooltip?
    • How do I cite UCSC Xena?
  • Overview of features
    • Visual Spreadsheet
      • Coloring for Mutation Columns
      • Coloring for Segmented Copy Number Columns
    • Kaplan Meier Plots
    • Chart & Statistics View
    • Filtering and subgrouping
      • Supported search terms for finding samples
    • Differential Gene Expression
    • GSEA
    • Genomic Signatures
    • Bookmarks
    • Download Data
    • Xena Single Cell
    • TumorMap
    • MuPIT
    • Accessing data through python
    • Transcript View
    • Xena Gene Set Viewer
  • Overview of public data
    • Types of data we have
    • TCGA
    • GDC
    • More studies
    • Choosing a study/cohort
  • FAQ
    • Xena Browser
    • Data and datasets
  • Viewing your own data
    • Getting Started
    • Probes/transcripts/identifiers we recognize
    • Data format specifications and supported biological data types
    • KM plots using data from a Local Xena Hub
    • Hubs for institutions, collaborations, labs, and larger projects
    • Loading data from the command line
    • FAQ/Troubleshooting Guide
  • Technical documentation
    • Setting up Xena for your institution
    • Deep Linking Into Xena
    • Metadata Specification
  • Contact us
  • Cite us
  • Data Use Agreement
Powered by GitBook
On this page
  • Description
  • Prerequisites
  • Estimated time needed
  • Learning goals
  • Tutorial
  • Part A
  • Part B
  • Test your knowledge

Was this helpful?

Export as PDF
  1. Tutorials and webinars

Basic Tutorial: Section 3

Learn how to use Chart View and add new columns of data to a view

Last updated 20 days ago

Was this helpful?

Description

This tutorial is made for those who have never used Xena but who have completed Section 1 of the Basic Tutorial. We will cover how to make box plots and bar charts using our Charts and Statistics View and how to add another column of data, in particular phenotype data, to the view.

Prerequisites

This tutorial assumes you have done . is recommended but not required. This tutorial begins where the Basic Tutorial: Section 2 ends. A live link to the end of Basic Tutorial: Section 2 is at the beginning of this tutorial.

Estimated time needed

Part A: 5 min

Part B: 15 min

Learning goals

Part A

  • Create a box plot using the Charts and Statistics View

Part B

  • Add another column of data to the view

  • Add phenotype data to the view

  • Create a bar chart using the Charts and Statistics View

Tutorial

Part A

We found that patient's samples that have aberrations in EGFR have higher gene expression. Now we are going to investigate if this difference in gene expression statistically significant.

We can now see that patient's samples with EGFR aberrations have statistically higher gene expression.

Steps

  1. Click the 3-dot column menu at the top of the gene expression column (don't worry if you start with another column - you will be selecting the correct columns in the steps ahead).

  2. Click 'Compare subgroups', since we want to compare the group of samples who have aberrations in EGFR to the group of samples that do not.

  3. Click the dropdown for 'Show data from' and choose 'column C: EGFR - gene expression RNAseq - HTSeq - FPKM-UQ'.

  4. Click the dropdown for 'Subgroup samples by' and choose 'column B: (mis OR infra) OR C:>0.5 - Subgroup'.

  5. Click 'Done'.

Video of steps

More information

Part B

We will now investigate how EGFR aberrations compare between samples from men and women.

We can now see that EGFR aberrations are more common in samples from females.

Steps

  1. Click the 'x' in the upper right corner to exit Chart View.

  2. Hover between columns B and C until 'Click to insert a column' becomes visible. Click on it.

  3. Choose 'Phenotypic', click in the search bar, and choose 'Advanced'.

  4. Type 'gender' into the search bar, select 'gender.demographic' from the dropdown menu, and click 'Done'.

  5. Click the column menu at the top of column C and choose 'Chart & Statistics'. Note that this is just another way to enter Chart View.

  6. Click 'Compare subgroups', since we want to compare the group of samples who have aberrations in EGFR to the group of samples that do not.

  7. 'column C: gender.demographic' should already be selected for 'Show data from'. If not, select it.

  8. 'column B: (mis OR infra) OR C:>0.5 - Subgroup' should already be selected for 'Subgroup samples by'. If not, select it.

  9. Click 'Done'.

Video of steps 1-4

Video of steps 5-9

More information

Test your knowledge

Starting at the end of Part A, create a violin plot that compares copy number variation between patient's samples that have EGFR aberrations and those that do not.

Starting at the end of Part B, add the phenotype data 'age_at_earliest_diagnosis_in_years.diagnoses.xena_derived' to the plot.

Note that your column order may be different.

In the we found that patient's samples that have aberrations in EGFR have higher expression. These aberrations could be mutations or copy number amplifications.

In the we created two subgroups: patient's samples that have aberrations in EGFR and those without. We ran a Kaplan Meier survival analysis and found that there was no difference in survival between these two groups.

Now we are going to use the subgroups created in the to see if there is a statistical difference in gene expression between the two subgroups. We will also look at whether samples from male or female patients have more aberrations.

To ensure your columns are sorted the same as those in this tutorial, .

Basic Tutorial: Section 1
Basic Tutorial: Section 2
Basic Tutorial: Section 1
Basic Tutorial: Section 2
Basic Tutorial: Section 2
please start at this link
Ending Screenshot
Chart and Statistics View
Ending Screenshot
Chart and Statistics View
Ending Screenshot
Ending Screenshot