Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

RNA-Seq with Bioconductor in R

Cursus bekijken

Oefeninstructies

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

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

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