drop_flagged: Drop flagged features

View source: R/transformations.R

drop_flaggedR Documentation

Drop flagged features

Description

Removes all features that have been flagged by quality control functions. Only features that do not have a flag (Flag == NA) are retained.

Usage

drop_flagged(object, all_features = FALSE)

Arguments

object

a MetaboSet object

all_features

logical, should all features be retained? Mainly used by internal functions

Examples

dim(merged_sample)
flagged <- flag_quality(merged_sample)
noflags <- drop_flagged(flagged)
dim(noflags)


antonvsdata/notame documentation built on Sept. 14, 2024, 11:09 p.m.