Description Usage Arguments Value Examples
Method to subset (or sort) views
1 | subset_views(object, views)
|
object |
a |
views |
character vector with the views names, numeric vector with the views indices, or logical vector with the views to be kept as TRUE. |
A MOFA
object
1 2 3 4 5 6 | # Using an existing trained model on simulated data
file <- system.file("extdata", "model.hdf5", package = "MOFA2")
model <- load_model(file)
# Subset the first view
model <- subset_views(model, views = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.