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.

Este exercício faz parte do curso

RNA-Seq with Bioconductor in R

Ver Curso

Instruções de exercício

  • Perform shrinkage of the log2 foldchanges using the lfcShrink() function.

Exercício interativo prático

Experimente este exercício preenchendo este código de exemplo.

# Shrink the log2 fold change estimates to be more accurate
smoc2_res <- lfcShrink(___, 
                    contrast =  c(___, ___, ___),
                    res = ___)