The MOFAdata package contains several data sets to be used for illustration pruposes in the R package MOFA. Please refer to the vignettes in the MOFA package, where we explain in detail how MOFA can be trained on the data and how the resulting model is to be analysed.
library(MOFAdata)
library(MultiAssayExperiment)
In MOFAdata we store the following data objects to be used with MOFA:
# Load data
# import list with mRNA, Methylation, Drug Response and Mutation data.
data("CLL_data")
lapply(CLL_data, dim)
## $Drugs
## [1] 310 200
##
## $Methylation
## [1] 4248 200
##
## $mRNA
## [1] 5000 200
##
## $Mutations
## [1] 69 200
# Load sample metadata: Sex and Diagnosis
data("CLL_covariates")
head(CLL_covariates)
## Gender Diagnosis
## H045 m CLL
## H109 m CLL
## H024 m CLL
## H056 m CLL
## H079 m CLL
## H164 f CLL
data("scMT_data")
scMT_data
## A MultiAssayExperiment object of 4 listed
## experiments with user-defined names and respective classes.
## Containing an ExperimentList class object of length 4:
## [1] RNA expression: ExpressionSet with 5000 rows and 81 columns
## [2] Met Enhancers: ExpressionSet with 5000 rows and 83 columns
## [3] Met CpG Islands: ExpressionSet with 5000 rows and 83 columns
## [4] Met Promoters: ExpressionSet with 5000 rows and 83 columns
## Functionality:
## experiments() - obtain the ExperimentList instance
## colData() - the primary/phenotype DataFrame
## sampleMap() - the sample coordination DataFrame
## `$`, `[`, `[[` - extract colData columns, subset, or experiment
## *Format() - convert into a long or wide DataFrame
## assays() - convert ExperimentList to a SimpleList of matrices
## exportClass() - save data to flat files