Description Usage Arguments Value Examples
Method to create a MOFA object from a data.frame object
1  | 
df | 
 
  | 
Returns an untrained MOFA object
1 2 3 4 5 6  | # Using an existing simulated data with two groups and two views
file <- system.file("extdata", "test_data.RData", package = "MOFA2")
# Load data (in long data.frame format)
load(file) 
MOFAmodel <- create_mofa_from_df(dt)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.