DESeq2 results - LFC shrinkage
NOTE: It may take a bit longer to load this exercise.
To improve the fold change estimates for our data, we want to take our results and shrink the log2 fold changes using the lfcShrink() function.
Assume all prior steps have been executed, including the creation of the DESeq2 object, dds_smoc2, running the DESeq() function, and extracting the results, smoc2_res.
Questo esercizio fa parte del corso
RNA-Seq with Bioconductor in R
Istruzioni dell'esercizio
- Perform shrinkage of the log2 foldchanges using the
lfcShrink()function.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Shrink the log2 fold change estimates to be more accurate
smoc2_res <- lfcShrink(___,
contrast = c(___, ___, ___),
res = ___)