create_mofa_from_MultiAssayExperiment {MOFA2} | R Documentation |
Method to create a MOFA
object from a MultiAssayExperiment object
create_mofa_from_MultiAssayExperiment( mae, groups = NULL, save_metadata = FALSE )
mae |
a MultiAssayExperiment object |
groups |
a string specifying column name of the colData to use it as a group variable.
Alternatively, a character vector with group assignment for every sample.
Default is |
save_metadata |
logical indicating whether to incorporate the metadata from the MultiAssayExperiment object into the MOFA object |
Returns an untrained MOFA
object