Get startedGet started for free

Boxplot of Top2b

Next a sanity check: create a boxplot of the expression level of Top2b to confirm the null mice have lower levels of Top2b expression.

Recall that you made a similar boxplot in Chapter 1 Exercise 4.

This exercise is part of the course

Differential Expression Analysis with limma in R

View Course

Exercise instructions

The ExpressionSet object eset with the doxorubicin data has been loaded in your workspace.

  • Find the row that contains the Top2b data by searching the feature data column "symbol" for "Top2b".

  • Create a boxplot using the formula syntax. The expression level should be to the left of the ~, and the genotype variable to the right.

  • Pass the feature data frame row to main to title the plot.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Find the row which contains Top2b expression data
top2b <- which(___(eset)[___] == "Top2b")

# Plot Top2b expression versus genotype
boxplot(___(eset)[top2b, ] ~ ___(eset)[___],
        main = ___(eset)[top2b, ])
Edit and Run Code