Skip to content

Commit

Permalink
add size factor illustration and update Wald test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmanke committed May 14, 2024
1 parent 32f16ad commit 854276d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions rmd/day02.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -285,16 +285,15 @@ A number of commonly used normalization techniques:
|:-------|:-----|
CPM | sequencing depth
RPKM | sequencing depth and gene length
DESeq2 median of ratios | sequencing depth and RNA composition
DESeq2 size factor | sequencing depth and RNA composition

... and many others exist.


DESeq2 Workflow for the 'median of ratios':

* Take geometric mean per gene (of all samples!) -> 'pseudosample'
* calculate the count / pseudosample ratio
* 'sizefactor' == median(ratios)
![DESeq2 sizefactor determination.](images/DESeq2_sizefactor.jpeg)


> **Task (5 min)**: Plot a heatmap of the first 10 genes (rows) of the counts matrix and add the metadata
after DESeq was run as above.
Expand Down
Binary file added rmd/images/DESeq2_sizefactor.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified rmd/images/Wald_LRT.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 854276d

Please sign in to comment.