Professional Documents
Culture Documents
KCL NGScourse Session4 Handout
KCL NGScourse Session4 Handout
Alexandre Thiery
Eva Hamrud
Centre for Craniofacial and Regenerative Biology
How does DESeq2 work?
Learning Objectives:
• Understand the purpose of DESeq2
• Know about the different normalization methods and when each one
should be applied
• Know that DESeq2’s normalization accounts for both RNA
composition and library size
• Understand why gene-wise dispersion is calculated in DESeq2
• Understand the importance of multiple test correction
What is DESeq2?
Untreated VS Treated
RNA-seq data
120
100
80
60
40
20
0
Untreated sampl e Untreated sampl e Untreated sampl e Treated sample 1 Treated sample 2 Treated sample 3
1 2 3
RNA-seq data
Untreated Treated
Differentially
Freq
expressed gene
Gene expression
RNA-seq data
Untreated Treated
Freq
Not differentially
expressed gene
Gene expression
We need to account for technical variance
Untreated Treated
Freq
Gene expression
Freq
Gene expression
Gene X Gene Y
Freq
Gene expression
Sample A Sample B
Freq
Expression of Gene X
Sample A Sample B
Freq
Expression of Gene X
Freq
Gene expression
Expression of Gene X
For each gene, DESeq2 fits a linear model of gene expression, taking into account the
dispersion estimates
These models are used to test if the means between the different conditions differ
significantly (using Wald test)
This is run for each gene independently
Sample A Sample B
Freq
Expression of Gene 1
Expression of Gene 3
Resources
• More in-depth explanation of differential gene expression analysis and DESeq2:
https://hbctraining.github.io/DGE_workshop_salmon/lessons/05_DGE_DESeq2_analysis2.html
• DESeq2 paper: https://genomebiology.biomedcentral.com/articles/10.1186/s13059-014-0550-8
• Intro to DESeq2 youtube video: DESeq2 Basics Explained | Differential Gene Expression Analysis |
Bioinformatics 101
• Youtube video of maximum likelihood estimation: https://www.youtube.com/watch?v=XepXtl9YKwc&t=96s
• Youtube video of multiple test correction and FDR: https://www.youtube.com/watch?v=K8LQSvtjcEo