Aan de slagGa gratis aan de slag

Create an ExpressionSet object

Managing 3 different data sets for one experiment is tedious and error-prone, especially if you need to perform any filtering. Combine the 3 data sets from the leukemia experiment into a unified object using the Bioconductor class ExpressionSet.

Deze oefening maakt deel uit van de cursus

Differential Expression Analysis with limma in R

Cursus bekijken

Oefeninstructies

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

  • Create a new ExpressionSet object using the function ExpressionSet.

  • Pass the expression matrix to the assayData argument.

  • Pass the phenotype data frame to the phenoData argument.

  • Pass the feature data frame to the featureData argument.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Load package
library(Biobase)

# Create ExpressionSet object
eset <- ___(assayData = ___,
                      phenoData = AnnotatedDataFrame(___),
                      featureData = AnnotatedDataFrame(___))

# View the number of features (rows) and samples (columns)
dim(eset)
Code bewerken en uitvoeren