Rename columns in a flowSet
Arguments
- .data
A
flowSet
- ...
Unquoted name-value pairs (as specified by the
featureNames
of theflowFrame
s making up theflowSet
). Use new_name = old_name to rename selected columns
Value
An object of the same type as .data. The output has the following properties:
* Rows are not affected.
* Column names are changed; column order is preserved.
* The flowSet
's pData
will be preserved.
Examples
my_flowset <- simulate_cytometry_data()$flowset
my_flowset |>
dplyr::rename(new_feature = feature_1)
#> A flowSet with 5 experiments.
#>
#> column names(10): new_feature feature_2 ... feature_9 feature_10
#>