create_mofa_from_MultiAssayExperiment: create a MOFA object from a MultiAssayExperiment object

View source: R/create_mofa.R

create_mofa_from_MultiAssayExperimentR Documentation

create a MOFA object from a MultiAssayExperiment object

Description

Method to create a MOFA object from a MultiAssayExperiment object

Usage

create_mofa_from_MultiAssayExperiment(
  mae,
  groups = NULL,
  extract_metadata = FALSE
)

Arguments

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 NULL (no group structure).

extract_metadata

logical indicating whether to incorporate the metadata from the MultiAssayExperiment object into the MOFA object

Value

Returns an untrained MOFA object


bioFAM/MOFA2 documentation built on June 12, 2024, 3:57 p.m.