เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Create a boxplot

Explore the leukemia data set by visualizing the expression levels of the first gene with boxplots for the patients with stable and progressive leukemia.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Differential Expression Analysis with limma in R

ดูคอร์ส

คำแนะนำการฝึกหัด

The expression matrix (x), feature data (f), and phenotype data (p) are loaded in your workspace.

  • Subset x to only include the first gene (i.e. row) and insert it left of the ~ in the formula (y-axis).

  • Subset p to only include the column "Disease" and insert it right of the ~ in the formula (x-axis).

  • Subset f to only include the first gene (i.e. row) and the column "symbol". Use this as the argument to main for the plot title.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Create a boxplot of the first gene in the expression matrix
boxplot(___ ~ ___, main = ___)
แก้ไขและรันโค้ด