mae_pick_samples: Modify samples of multi-assay experiment object

View source: R/utils.R

mae_pick_samplesR Documentation

Modify samples of multi-assay experiment object

Description

Modify samples of multi-assay experiment object

Usage

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"
  )
)


compbiomed/animalcules documentation built on Feb. 7, 2024, 12:13 p.m.