subset_samples | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.