CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

RNA-Seq with Bioconductor in R

Afficher le cours

Instructions

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

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Shrink the log2 fold change estimates to be more accurate
smoc2_res <- lfcShrink(___, 
                    contrast =  c(___, ___, ___),
                    res = ___)
Modifier et exécuter le code