filterMetaData {MetAlyzer}R Documentation

Filter meta data

Description

This function updates the "Filter" column in meta_data to filter out samples.

Usage

filterMetaData(metalyzer_se, ..., inplace = FALSE)

Arguments

metalyzer_se

SummarizedExperiment

...

Use ´col_name´ and condition to filter selected variables.

inplace

If FALSE, return a copy. Otherwise, do operation inplace and return None.

Value

An updated SummarizedExperiment

Examples

metalyzer_se <- MetAlyzer_dataset(file_path = example_extraction_data())

metalyzer_se <- filterMetaData(metalyzer_se, !is.na(Tissue))
metalyzer_se <- filterMetaData(metalyzer_se, `Sample Description` %in% 1:6)
# or
filterMetaData(metalyzer_se, !is.na(Tissue), inplace = TRUE)
filterMetaData(metalyzer_se, `Sample Description` %in% 1:6, inplace = TRUE)

[Package MetAlyzer version 1.0.0 Index]