How do I compare gene expression between subgroups?
Last updated
Last updated
This page assumes you have a column on screen that has the groups you would like to compare (such as 'sample type' for comparing tumor vs normal') or have already made subgroups (such as 'has mutations in EGFR' vs 'does not have mutations in EGFR'). If you need help making subgroups, please see the 'How do I make subgroups' help page.
First, make sure that the gene or genes that you want to compare across your groups are on screen.
Click on the charts icon in the top right and choose 'Compare subgroups'.
Click the dropdown for 'Show data from' and choose your gene expression column.
Click the dropdown for 'Subgroup samples by' and choose your subgroup column.
Choose if you would like a box plot or violin plot and click 'Done'.
Below we look at patient's samples that have aberrations in EGFR in the TCGA Lung Adenocarcinoma study. We will investigate if patient's samples that have aberrations in EGFR (mutations or copy number amplifications) have higher expression.
Click the graph icon in the upper right corner to enter Chart View.
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.
Click the dropdown for 'Show data from' and choose 'column C: EGFR - gene expression RNAseq - HTSeq - FPKM-UQ'.
Click the dropdown for 'Subgroup samples by' and choose 'column B: (mis OR infra) OR C:>0.5 - Subgroup'.
Click 'Done'.
For more information see our Basic Tutorial: Section 3.