plotDataOverview {MOFA} | R Documentation |
Function to do a tile plot showing the dimensionality and the missing value structure of the multi-omics data.
plotDataOverview(object, colors = NULL)
object |
a |
colors |
a character vector specifying the colors per view. NULL (default) uses an internal palette. |
This function is helpful to get an overview of the dimensionality and
the missing value structure of the training data.
It shows the number of samples, the number of views, the number of features,
and the structure of missing values.
It is particularly useful to visualise incomplete data sets,
where some samples are missing subsets of assays.
a tile plot of the training data
# Example on the CLL data filepath <- system.file("extdata", "CLL_model.hdf5", package = "MOFAdata") MOFA_CLL <- loadModel(filepath) plotDataOverview(MOFA_CLL) # Example on the scMT data filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata") MOFA_scMT <- loadModel(filepath) # using customized colors plotDataOverview(MOFA_scMT, colors= c("red", "red", "red", "blue"))