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

Design matrix for 3 groups

In the hypoxia experiment, stem cells were exposed to 3 different levels of oxygen: 1%, 5%, and 21%. To contrast the cellular function in these 3 different environments, use the group-means parametrization to specify a linear model with a coefficient for each level of oxygen.

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

Differential Expression Analysis with limma in R

ดูคอร์ส

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

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

  • Use model.matrix to create a design matrix with no intercept. Recall that the variable of interest for this study (3 oxygen levels) is in the column oxygen of the phenotype data frame.

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

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

# Create design matrix with no intercept
design <- ___(~___ + ___, data = ___(eset))

# Count the number of samples modeled by each coefficient
colSums(design)
แก้ไขและรันโค้ด