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.
Bu egzersiz
Differential Expression Analysis with limma in R
kursunun bir parçasıdırEgzersiz talimatları
The expression matrix (x), feature data (f), and phenotype data (p) are loaded in your workspace.
Subset
xto only include the first gene (i.e. row) and insert it left of the~in the formula (y-axis).Subset
pto only include the column"Disease"and insert it right of the~in the formula (x-axis).Subset
fto only include the first gene (i.e. row) and the column"symbol". Use this as the argument tomainfor the plot title.
Uygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Create a boxplot of the first gene in the expression matrix
boxplot(___ ~ ___, main = ___)