Skip to contents

Keep or drop columns using their names and types.

Usage

# S3 method for flowSet
select(.data, ...)

Arguments

.data

A flowSet

...

One or more unquoted expressions separated by commas. Variables names (as specified by the featureNames of the component flowFrames that make up the flowSet) can be used as if they were positions in the flowSet). Supports tidyselection.

Value

A flowSet. The output has the following properties: * Rows are not affected. * Output columns are a subset of input columns, potentially with a different order. Columns will be renamed if new_name = old_name form is used. * The flowSet's pData will be preserved.

Examples

my_flowset <-
  simulate_cytometry_data()$flowset

my_flowset |>
  dplyr::select(feature_1)
#> A flowSet with 5 experiments.
#> 
#> column names(1): feature_1
#>