pruneFeatures: Prune features by predicate

pruneFeaturesR Documentation

Prune features by predicate

Description

Modifies the data slot of an AbundanceData object, to exclude features for which the provided predicate function returns FALSE.

Usage

pruneFeatures(object, predicate, verbose = c(TRUE, FALSE))

Arguments

object

AbundanceData

predicate

Function returning a boolean indicating if a feature should be included (TRUE) or excluded (FALSE)

verbose

boolean indicating if timed logging is desired

Value

AbundanceData with modified data slot


VEuPathDB/microbiomeComputations documentation built on March 1, 2024, 7:21 a.m.