You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lessons/wk7_lesson01_hypothesis_testing.md
+55-2Lines changed: 55 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Hypothesis testing and multiple testing"
3
3
author: "Harvard HPC Staff, Adapted by Sally Chang @ NICHD"
4
-
date: "Last Modified February 2025"
4
+
date: "Last Modified May 2025"
5
5
---
6
6
7
7
Approximate time: 60 minutes
@@ -13,13 +13,38 @@ Approximate time: 60 minutes
13
13
- Recognize the importance of multiple test correction
14
14
- Identify different methods for multiple test correction
15
15
16
+
## Catch-Up Script
17
+
18
+
If you need to be completely caught up, you can copy and paste the following into an R Script and run it. If you don't already have the files in your `/data` directory, please see [Wk 5 Lesson 01](../wk5_lesson01_introR_Rstudio.md) for instructions on where to obtain the input files.
19
+
20
+
```r
21
+
# Setup
22
+
# Bioconductor and CRAN libraries used - already installed on Biowulf
The final step in the DESeq2 workflow is taking the counts for each gene and fitting it to the model and testing for differential expression.
19
44
20
45
<palign="center">
21
46
22
-
<imgsrc="../img/deseq_workflow_full_2018.png"width="385"alt="deseq full workflow"/>
47
+
<imgsrc="../img/deseq_workflow_full_2018.png"alt="deseq full workflow"width="385"/>
23
48
24
49
</p>
25
50
@@ -151,6 +176,34 @@ DESeq2 helps reduce the number of genes tested by removing those genes unlikely
151
176
152
177
By setting the FDR cutoff to \< 0.05, we're saying that the proportion of false positives we expect amongst our differentially expressed genes is 5%. For example, if you call 500 genes as differentially expressed with an FDR cutoff of 0.05, you expect 25 of them to be false positives.
153
178
179
+
## Your DE script
180
+
181
+
In this lesson, we took the additional step of running an additional DESeq2 analysis using a Likelihood Ratio Test to create the `dds_lrt` object . Your `de_script.R` should now contain the following commands to re-create necessary data objects (click to show):
182
+
183
+
```r
184
+
# Setup
185
+
# Bioconductor and CRAN libraries used - already installed on Biowulf
*This lesson has been developed by members of the teaching team at the [Harvard Chan Bioinformatics Core (HBC)](http://bioinformatics.sph.harvard.edu/). These are open access materials distributed under the terms of the [Creative Commons Attribution license](https://creativecommons.org/licenses/by/4.0/) (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.*
0 commit comments