Subset rows using their positions
Arguments
- .data
A
flowSet
- ...
Integer row values (to keep).
- .by
Optionally, an unquoted selection of columns to group by for just this operation. An alternative to group_by.
- .preserve
Currently unused.
Value
An object of the same type as .data. The output has the following properties:
* Each row may appear 0, 1, or many times in the output.
* Columns are not modified.
* Groups are not modified.
* A flowSet
's pData
is preserved.
Examples
my_flowset <- simulate_cytometry_data()$flowset
my_flowset |>
dplyr::slice(1)
#> A flowSet with 5 experiments.
#>
#> column names(10): feature_1 feature_2 ... feature_9 feature_10
#>