Create, modify, and delete columns.
Arguments
- .data
- ...
Name-value pairs. The name (the left side of the equals sign) gives the name of the column in the output. The right side of the equation performs computations using the names of each channel according to
featureNames
. Supports tidyselection.
Value
A flowFrame
. The output has the following
properties:
* Columns created or modified through ... will be returned in the order specified by ....
* The number of rows is not affected.
* Columns given the value NULL will be removed.
* The flowFrame
's identifier
will be preserved.
Examples
my_flowframe <- simulate_cytometry_data()$flowframe
my_flowframe |>
dplyr::transmute(new_feature = feature_1 + feature_2)
#> flowFrame object 'V1'
#> with 100 cells and 1 observables:
#> name desc range minRange maxRange
#> $P1 new_feature new_feature 183 0 182
#> 25 keywords are stored in the 'description' slot