DGE analysis using LRT in DESeq2 - Answer Key

Author

Will Gammerdinger

Published

November 13, 2025

Exercise 1

Compare the resulting gene list from the LRT test to the gene lists from the Wald test comparisons.

1. How many of the sigLRT_genes overlap with the significant genes in sigOE?

# Find overlaps between sigLRT_genes and sigOE
overlap_LRT_OE <- sigLRT_genes %>% subset(gene %in% sigOE$gene)
nrow(overlap_LRT_OE)
[1] 4510

2. How many of the sigLRT_genes overlap with the significant genes in sigKD?

# Find overlaps between sigLRT_genes and sigKD
overlap_LRT_KD <- sigLRT_genes %>% subset(gene %in% sigKD$gene)
nrow(overlap_LRT_KD)
[1] 2741

Reuse

CC-BY-4.0