getDimensions {MOFA} | R Documentation |
Extract dimensionalities from the model.
getDimensions(object)
object |
a |
K indicates the number of factors, D indicates the number of features, N indicates the (total) number of samples and M indicates the number of views.
list with the relevant dimensionalities of the model. N for the number of samples, M for the number of views, D for the number of features of each view and K for the number of infered latent factors.
# load a trained MOFAmodel object filepath <- system.file("extdata", "CLL_model.hdf5", package = "MOFAdata") MOFAobject <- loadModel(filepath) # get dimensions getDimensions(MOFAobject)