Status {MOFA}R Documentation

Status: set and retrieve training status

Description

Function to set and retrieve taining status.

Usage

Status(object)

Status(object) <- value

## S4 method for signature 'MOFAmodel'
Status(object)

## S4 replacement method for signature 'MOFAmodel,character'
Status(object) <- value

Arguments

object

a MOFAmodel object.

value

character indicating whether the object is trained or untrained

Value

character indicating whether the object is trained or untrained

Examples

# load a trained MOFAmodel object
filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata")
MOFAobject <- loadModel(filepath)
Status(MOFAobject)

[Package MOFA version 1.2.0 Index]