makeExampleData {MOFA} | R Documentation |
Function to simulate an example multi-view data set according to the generative model of MOFA.
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.
# Generate a data set MOFAexample <- makeExampleData() str(MOFAexample)