Modify samples of multi-assay experiment object

mae_pick_samples(MAE, isolate_samples = NULL, discard_samples = NULL)

Arguments

MAE

A multi-assay experiment object

isolate_samples

Isolate specific samples e.g. c('SAM_01', 'SAM_02')

discard_samples

Discard specific samples e.g. c('SAM_01', 'SAM_02')

Value

A multi-assay experiment object

Examples

data_dir <- system.file("extdata/MAE.rds", package = "animalcules")
toy_data <- readRDS(data_dir)
subset <- mae_pick_samples(toy_data,
  isolate_samples = c(
    "subject_9",
    "subject_14"
  )
)