subset_samples {MOFA2} | R Documentation |
Method to subset (or sort) samples
subset_samples(object, samples)
object |
a |
samples |
character vector with the sample names or numeric vector with the sample indices. |
A MOFA
object
# Using an existing trained model on simulated data file <- system.file("extdata", "model.hdf5", package = "MOFA2") model <- load_model(file) # (TO-DO) Remove a specific sample from the model (an outlier)