Description Usage Arguments Value Examples
Function to set and retrieve factor names.
1 2 3 4 5 6 7 8 9 | factorNames(object)
factorNames(object) <- value
## S4 method for signature 'MOFAmodel'
factorNames(object)
## S4 replacement method for signature 'MOFAmodel,vector'
factorNames(object) <- value
|
object |
a |
value |
a character vector of factor names |
character vector with the features names
1 2 3 4 5 6 | # load a trained MOFAmodel object
filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata")
MOFAobject <- loadModel(filepath)
factorNames(MOFAobject)
factorNames(MOFAobject) <- paste("Factor",1:3,sep="_")
factorNames(MOFAobject)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.