powered by
Function to set and retrieve taining data.
TrainData(object)TrainData(object) <- value# S4 method for MOFAmodel TrainData(object)# S4 method for MOFAmodel,list TrainData(object) <- value
TrainData(object) <- value
# S4 method for MOFAmodel TrainData(object)
# S4 method for MOFAmodel,list TrainData(object) <- value
a MOFAmodel object.
MOFAmodel
a list of matrices containing the training data
list of matrices containing the training data
# NOT RUN { # load a trained MOFAmodel object filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata") MOFAobject <- loadModel(filepath) str(TrainData(MOFAobject)) # }
Run the code above in your browser using DataLab