Skip to contents

This function takes a given `tof_tbl` and writes the single-cell data it contains into .fcs files within the directory located at `out_path`. The `group_cols` argument specifies how the rows of the `tof_tbl` (each cell) should be broken into separate .fcs files

Usage

tof_write_fcs(tof_tibble, group_cols, out_path, sep = "_", file_name)

Arguments

tof_tibble

A `tof_tbl` or a `tibble`.

group_cols

Unquoted names of the columns in `tof_tibble` that should be used to group cells into separate files. Supports tidyselect helpers. Defaults to NULL (all cells are written into a single file).

out_path

A system path indicating the directory where the output .csv files should be saved. If the directory doesn't exist, it will be created.

sep

Delimiter that should be used between each of the values of `group_cols` to create the output .fcs file names. Defaults to "_".

file_name

If `group_cols` isn't specified, the name (without an extension) that should be used for the saved .csv file.

Value

This function does not return anything. Instead, it has the side-effect of saving .fcs files to `out_path`.

See also

Other input/output functions: tof_read_data(), tof_write_csv(), tof_write_data()

Examples

NULL
#> NULL