mae_pick_samples: Modify samples of multi-assay experiment object

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Modify samples of multi-assay experiment object

Usage

1
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

1
2
3
4
5
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'))

animalcules documentation built on Nov. 8, 2020, 6:47 p.m.