Volcano plot
Now you will visualize the extent of differential expression for each contrast with a volcano plot, which displays the log odds of differential expression on the y-axis versus the log fold change on the x-axis.
Este exercício faz parte do curso
Differential Expression Analysis with limma in R
Instruções do exercício
The fitted model object fit2
has been loaded in your workspace. The limma package is already loaded.
Access the gene symbols (
symbol
) from the data framefit2$genes
.Create a volcano plot that highlights the top 5 genes for each of the 3 contrasts.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Extract the gene symbols
gene_symbols <- fit2$genes[___]
# Create a volcano plot for the contrast dox_wt
___(fit2, coef = ___, highlight = 5, names = gene_symbols)
# Create a volcano plot for the contrast dox_top2b
___(fit2, coef = ___, highlight = ___, names = gene_symbols)
# Create a volcano plot for the contrast interaction
___(fit2, coef = ___, highlight = ___, names = ___)