drop_metadata: Removes non-informative metadata

View source: R/manip.R

drop_metadataR Documentation

Removes non-informative metadata

Description

For each of colData and rowData, removes the variables that have only 1 unique value

Usage

drop_metadata(se)

Arguments

se

SummarizedExperiment to drop metadata for

Value

A SummarizedExperiment after redundant metadata has been dropped

Examples

# as the se only contains time == 4 data, the time variable can be dropped
data(seq_se)
seq_se %>% filter(col, time == 4) %>% drop_metadata 

martijnvanattekum/cleanse documentation built on Nov. 20, 2023, 8:28 p.m.