create_mofa_from_matrix {MOFA2} | R Documentation |
Method to create a MOFA
object from a list of matrices
create_mofa_from_matrix(data, groups = NULL)
data |
A list of matrices, where each entry corresponds to one view. Samples are stored in columns and features in rows. Missing values must be filled in prior to creating the MOFA object (see for example the CLL tutorial) |
groups |
A character vector with group assignment for every sample. Default is |
Returns an untrained MOFA
object
m <- make_example_data() create_mofa_from_matrix(m$data)