Description Usage Arguments Value Examples
View source: R/makeExampleData.R
Function to simulate an example multi-view data set according to the generative model of MOFA.
1 2 | makeExampleData(n_views = 3, n_features = 100, n_samples = 50,
n_factors = 5, likelihood = "gaussian")
|
n_views |
number of views |
n_features |
number of features in each view |
n_samples |
number of samples |
n_factors |
number of factors |
likelihood |
likelihood for each view, one of "gaussian", "bernoulli", "poisson", or a character vector of length n_views |
Returns an untrained MOFAmodel
containing simulated data as training data.
1 2 3 | # Generate a data set
MOFAexample <- makeExampleData()
str(MOFAexample)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.