Coerce flowFrames or flowSets into tibbles.
Usage
as_tof_tbl(
flow_data,
.name_method = c("tidyFlowCore", "featureNames", "colnames"),
sep = "|",
...
)
Arguments
- flow_data
A flowFrame or flowSet
- .name_method
A string indicating how tidyFlowCore should extract column names from `flow_data`. Available options are "tidyFlowCore" (the default), which uses tidyFlowCore's internal heuristic to name columns; "featureNames", which uses
featureNames
to name the columns; and "colnames", which usescolnames
to name the columns. Note that, in most cases, "featureNames" and "colnames" will give identical results.- sep
A string indicating which symbol should be used to separate antigen names and channel names in the columns of the output tof_tbl when .name_method = 'tidyFlowCore'.
- ...
Optional method-specific arguments.
Examples
input_file <- system.file("extdata", "0877408774.B08", package="flowCore")
input_flowframe <- flowCore::read.FCS(input_file)
tof_tibble <- as_tof_tbl(input_flowframe)