Run Multi-Omics Factor Analysis v2 (MOFA2).
run_mofa2( mat_list, groups = NULL, metadata = NULL, metadata_idcol = "sample", transpose = FALSE, maxiter = 1000, data_options = NULL, model_options = NULL, training_options = NULL, stochastic_options = NULL, mefisto_options = NULL, outfile = file.path(tempdir(), "model.hdf5"), reductions = c("umap"), seed = 2020, verbose = TRUE, ... )
mat_list | Named list of input data matrices. |
---|---|
groups | group information, only relevant when using the multi-group framework. |
transpose | First transpose each matrix in |
maxiter | Maximum number of training iterations (DEFAULT = 1000). |
outfile | output file for the model (.hdf5 format). If |
reductions | In addition to returning MOFA factors, further reduce the data with "umap" and/or "tsne". |
seed | Seed passed to \[base]set.seed for reproducibility between runs. |
verbose | Print messages. |
... | Additional parameters passed to run_mofa. |
Uses run_mofa to reduce a single dataset, or multiple views of the same dataset, into a set number of factors.