pruneFeatures | R Documentation |
Modifies the data slot of a Collection or CollectionWithMetadata object, to exclude features for which the provided predicate function returns FALSE.
pruneFeatures(object, predicate, verbose = c(TRUE, FALSE))
## S4 method for signature 'Collection'
pruneFeatures(object, predicate, verbose = c(TRUE, FALSE))
object |
Collection |
predicate |
Function returning a boolean indicating if a feature should be included (TRUE) or excluded (FALSE) |
verbose |
boolean indicating if timed logging is desired |
Collection with modified data slot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.