create_mofa_from_matrix {MOFA2} | R Documentation

## create a MOFA object from a a list of matrices

### Description

Method to create a `MOFA` object from a list of matrices

### Usage

    create_mofa_from_matrix(data, groups = NULL)

### Arguments

`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 `NULL`, no group structure.

### Value

Returns an untrained `MOFA` object

### Examples

    m <- make_example_data()
    create_mofa_from_matrix(m$data)

[Package MOFA2 version 1.2.2 Index]