drop_flagged: Drop flagged features

Description Usage Arguments Examples

View source: R/transformations.R

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

1
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

1
2
3
4
dim(merged_sample)
flagged <- flag_quality(merged_sample)
noflags <- drop_flagged(flagged)
dim(noflags)

antonvsdata/amp documentation built on Jan. 8, 2020, 3:15 a.m.