Volcano plot
Next, you will create a volcano plot to visualize the extent of differential expression in the leukemia study, which displays the log odds of differential expression on the y-axis versus the log fold change on the x-axis.
This exercise is part of the course
Differential Expression Analysis with limma in R
Exercise instructions
The fitted model object of the leukemia study from Chapter 2, fit2
, has been loaded in your workspace. The limma package is already loaded.
Create a volcano plot that highlights the top 5 genes.
Label the top 5 genes with their gene symbols by passing the column
symbol
of the data framefit2$genes
to the argumentnames
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create a volcano plot. Highlight the top 5 genes
___(fit2, highlight = ___, names = ___)