Description Usage Arguments Details Value Examples
Function to train an untrained MOFAmodel
object.
1 |
object |
an untrained |
outfile |
output .hdf5 file |
In this step the R package is calling the mofapy
Python package,
where the the training is performed.
The interface with Python is done with the reticulate
package.
If you have several versions of Python installed and Rstudio is not detecting
the correct one, you can change it using reticulate::use_python
.
a trained MOFAmodel
object
1 2 3 4 5 6 7 8 9 10 | data <- makeExampleData()
# create and prepare the MOFAmodel
MOFAobject <- createMOFAobject(data)
MOFAobject <- prepareMOFA(MOFAobject)
# fit the model (takes some time)
## Not run:
# MOFAobject <- runMOFA(MOFAobject)
# MOFAobject
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.