Skip to contents

Filtration method for xpose_set

Usage

# S3 method for class 'xpose_set'
filter(.data, ..., .rowwise = FALSE)

Arguments

.data

<xpose_set> An xpose_set object

...

<dynamic-dots> (passed through to <dplyr::filter>)

.rowwise

<logical> Should the mutation be applied rowwise? (default: FALSE)

Value

A filtered xpose_set

Examples

xpdb_set %>%
  filter(label=="mod1")
#> 
#> ── xpose_set object ────────────────────────────────────────────────────────────
#> • Number of models: 1
#> • Model labels: mod1
#> • Number of relationships: 0
#> • Focused xpdb objects: none
#> • Exposed properties: none
#> • Base model: none

xpdb_set %>%
  filter(length(parent)>1, .rowwise=TRUE)
#> ! No xpdb objects in the set.