Core

Core#

DataOptions(*[, group_by, layer, ...])

Options for the data.

ModelOptions(*[, n_factors, weight_prior, ...])

Options for the model.

TrainingOptions(*[, device, batch_size, ...])

Options for training.

SmoothOptions(*[, n_inducing, kernel, ...])

Options for Gaussian processes.

MOFAFLEX(data, *args)

Fit the model using the provided data.

FeatureSet(features, name[, description])

Class for storing a single set of features (genes).

FeatureSets(feature_sets[, name, remove_empty])

Class for storing a collection of feature sets (see FeatureSet).

Presets#

Presets corresponding to different previously published factor analysis models.

These can be used by passing them to the MOFAFLEX constructor: MOFAFLEX(*preset).

mofaflex.presets.MOFA#

Options used to reproduce MOFA results in the MOFA-FLEX paper.

mofaflex.presets.MEFISTO#

Options used to reproduce MEFISTO results in the MOFA-FLEX paper.

mofaflex.presets.NSF#

Options used to reproduce NSF results in the MOFA-FLEX paper.

Settings#

An instance of the _core.settings.Settings is available as mofaflex.settings and allows configuring MOFA-FLEX.

_core.settings.Settings(*[, use_dask, ...])

Global settings.