Skip to contents

Order rows using column values

Usage

# S3 method for flowSet
arrange(.data, ..., .by_group = FALSE)

Arguments

.data

A flowSet

...

Variables, or functions of variables, to arrange by.

.by_group

Unused.

Value

An object of the same type as .data. The output has the following properties: * All rows appear in the output, but (usually) in a different place. * Columns are not modified. * The flowSet's pData will be preserved.

Examples

my_flowset <- simulate_cytometry_data()$flowset

my_flowset |>
  dplyr::arrange(feature_1)
#> A flowSet with 5 experiments.
#> 
#> column names(10): feature_1 feature_2 ... feature_9 feature_10
#>