# NOT RUN {
# Example on the CLL data
filepath <- system.file("extdata", "CLL_model.hdf5", package = "MOFAdata")
MOFA_CLL <- loadModel(filepath)
plotWeightsHeatmap(MOFA_CLL, view="Mutations")
plotWeightsHeatmap(MOFA_CLL, view="Mutations", factors=1:3)
# Example on the scMT data
filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata")
MOFA_scMT <- loadModel(filepath)
plotWeightsHeatmap(MOFA_scMT, view="RNA expression")
# }
Run the code above in your browser using DataLab