R Tutorial : Differential Gene Expression Overview
Key Takeaways
This video tutorial provides an overview of differential gene expression analysis using the DESeq2 package in R, covering the basics of RNA-seq data analysis and statistical modeling for identifying differentially expressed genes.
Full Transcript
differential gene expression analysis is a powerful technique to determine whether genes are expressed at significantly different levels between two or more sample groups we will use the Dec to package to model the gene counts and identify differentially expressed genes listen and we see a heat map of genes as rose-coloured by number of counts these genes represent the genes with large expression differences or full of changes between sample groups to determine which genes are differentially expressed one might ask why not just identify the genes with the largest full changes in expression between sample groups to get the answer let's observe the plot of normalized counts for gene a the points represent the gene expression levels for five biological replicates for untreated and treated conditions the mean expression for the tria condition is over twice that of the untreated however there appears to be greater variation in the treated condition and the difference in expression may not be significant we need to account for variation in the data when we determine what their genes are differentially expressed therefore the goal of differential expression analysis is to determine for each gene whether the difference is an expression between groups is significant given the amount of variation within groups or between the biological replicates to explore the workflow we'll be using a publicly available RNA seek data set from Jared do seek at all from the journal JCI insight in this paper the goal of the RNA seek experiment was to explore why mice overexpressing the SMAW true gene or producing more Smok to RNA than normal are more likely to develop kidney fibrosis smack to you or secreted modular calcium binding protein 2 has been shown to have increased expression in kidney fibrosis which is characterized by an excess of extracellular matrix in the space between tubules and capillaries within the kidney however is unknown house mark 2 functions in the induction and progression of fibrosis there are four sample groups being tested normal control mice referred to as wild-type mice with and without fibrosis and smack to overexpressing mice with and without fibrosis there are three biological replicates for all normal samples and four replicates for all fibrosis samples initially we will explore the effective fibrosis and gene expression using wild-type samples during lectures and smack to overexpression data during exercises to test whether the expression of genes between two or more groups is significantly different we need an appropriate statistical model an appropriate statistical model is determined by the count distribution when we plot the distribution of counts for a single sample we can visualize key features of rna-seq data including a large proportion of genes with low counts and many genes with zero counts also note the long right tail which is due to there being no limit for max expression in RNA seek data if there was no expression variation between biological replicates a frequently used count distribution known as the Poisson distribution would be an appropriate model but there is always biological variation and this additional variation president RNA seek data can be modeled well using a negative binomial model which we will be using as part of Dec 2 to the B a data frame with gene IDs as row names and sample names as column names each cell represents the number of reads aligned to the corresponding gene for a given sample in addition to our raw counts we require a sample metadata at the very least we need to know which of our samples correspond to each condition to generate our metadata we create a vector for each column and combine the vectors into a data frame the sample names are added as the row names after we have the count and metadata files we can start the differential expression analysis workflow let's practice exploring counts and getting our files ready for an
Original Description
Want to learn more? Take the full course at https://learn.datacamp.com/courses/rna-seq-with-bioconductor-in-r at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work.
---
Differential gene expression analysis is a powerful technique to determine whether genes are expressed at significantly different levels between two or more sample groups. We will use the DESeq2 package to model the gene counts and identify differentially expressed genes.
In this image, we see a heat map of genes as rows colored by number of counts. These genes represent the genes with large expression differences or fold changes between sample groups.
To determine which genes are differentially expressed, one might ask 'why not just identify the genes with the largest fold changes in expression between sample groups?'.
To get at the answer, let's observe the plot of normalized counts for gene A. The points represent the gene A expression levels for five biological replicates for 'untreated' and 'treated' conditions.
The mean expression for the 'treated' condition is over twice that of the untreated. However, there appears to be greater variation in the 'treated' condition and the difference in expression may not be significant. We need to account for variation in the data when we determine whether genes are differentially expressed.
Therefore, the goal of differential expression analysis is to determine for each gene whether the differences in expression between groups is significant given the amount of variation within groups, or between the biological replicates.
To explore the workflow, we will be using a publicly available RNA-Seq dataset from Gerarduzzi et al from the journal JCI Insight. In this paper, the goal of the RNA-Seq experiment was to explore why mice over-expressing the Smoc2 gene, or producing more Smoc2 mRNA than normal, are more likely to develop kidney fibrosis.
Smoc2, or Secreted modular calcium-binding protein 2, ha
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from DataCamp · DataCamp · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SQL Server Tutorial: Date manipulation
DataCamp
R Tutorial: Intermediate Interactive Data Visualization with plotly in R
DataCamp
R Tutorial: Adding aesthetics to represent a variable
DataCamp
R Tutorial: Moving Beyond Simple Interactivity
DataCamp
Python Tutorial: Why use ML for marketing? Strategies and use cases
DataCamp
Python Tutorial: Preparation for modeling
DataCamp
Python Tutorial: Machine Learning modeling steps
DataCamp
R Tutorial: The prior model
DataCamp
R Tutorial: Data & the likelihood
DataCamp
R Tutorial: The posterior model
DataCamp
R Tutorial: An Introduction to plotly
DataCamp
R Tutorial: Plotting a single variable
DataCamp
R Tutorial: Bivariate graphics
DataCamp
Python Tutorial: Customer Segmentation in Python
DataCamp
Python Tutorial: Time cohorts
DataCamp
Python Tutorial: Calculate cohort metrics
DataCamp
Python Tutorial: Cohort analysis visualization
DataCamp
R Tutorial: Building Dashboards with flexdashboard
DataCamp
R Tutorial: Anatomy of a flexdashboard
DataCamp
R Tutorial: Layout basics
DataCamp
R Tutorial: Advanced layouts
DataCamp
Python Tutorial: Time Series Analysis in Python
DataCamp
Python Tutorial: Correlation of Two Time Series
DataCamp
Python Tutorial: Simple Linear Regressions
DataCamp
Python Tutorial: Autocorrelation
DataCamp
R Tutorial: The gapminder dataset
DataCamp
R Tutorial: The filter verb
DataCamp
R Tutorial: The arrange verb
DataCamp
R Tutorial: The mutate verb
DataCamp
R Tutorial: What is cluster analysis?
DataCamp
R Tutorial: Distance between two observations
DataCamp
R Tutorial: The importance of scale
DataCamp
R Tutorial: Measuring distance for categorical data
DataCamp
Python Tutorial: Plotting multiple graphs
DataCamp
Python Tutorial: Customizing axes
DataCamp
Python Tutorial: Legends, annotations, & styles
DataCamp
Python Tutorial: Introduction to iterators
DataCamp
Python Tutorial: Playing with iterators
DataCamp
Python Tutorial: Using iterators to load large files into memory
DataCamp
SQL Tutorial: Introduction to Relational Databases in SQL
DataCamp
SQL Tutorial: Tables: At the core of every database
DataCamp
SQL Tutorial: Update your database as the structure changes
DataCamp
Python Tutorial: Classification-Tree Learning
DataCamp
Python Tutorial: Decision-Tree for Classification
DataCamp
Python Tutorial: Decision-Tree for Regression
DataCamp
Python Tutorial: Census Subject Tables
DataCamp
Python Tutorial: Census Geography
DataCamp
Python Tutorial: Using the Census API
DataCamp
R Tutorial: A/B Testing in R
DataCamp
R Tutorial: Baseline Conversion Rates
DataCamp
R Tutorial: Designing an Experiment - Power Analysis
DataCamp
R Tutorial: Introduction to qualitative data
DataCamp
R Tutorial: Understanding your qualitative variables
DataCamp
R Tutorial: Making Better Plots
DataCamp
SQL Tutorial: OLTP and OLAP
DataCamp
SQL Tutorial: Storing data
DataCamp
SQL Tutorial: Database design
DataCamp
Python Tutorial: Introduction to spaCy
DataCamp
Python Tutorial: Statistical Models
DataCamp
Python Tutorial: Rule-based Matching
DataCamp
More on: ML Pipelines
View skill →
🎓
Tutor Explanation
DeepCamp AI