Cells and rings are written as (compressed) CSV files. Empty values are written as empty fields.
Usage
write_QWAdata(
x,
dir = NULL,
file_cells = NULL,
file_rings = NULL,
dataset_name = NULL,
compress = TRUE,
overwrite = FALSE,
drop_empty = TRUE,
keep_derived = TRUE
)Arguments
- x
A QWAdata object.
- dir
Directory to write to. Files are auto-named
{dataset_name}_QWAcells.csv(.gz)and{dataset_name}_QWArings.csv(.gz). Mutually exclusive withfile_cells/file_rings.- file_cells, file_rings
Explicit output paths for the cells and rings CSV files. Both must be provided together. Mutually exclusive with
dir.- dataset_name
Name prefix for auto-generated filenames when using
dir. If omitted, files are namedQWAcells.csv(.gz)andQWArings.csv(.gz).- compress
If
TRUE(default), write.csv.gzfiles.- overwrite
Allow to overwrite existing files? (default
FALSE).- drop_empty
If
TRUE(default), optional columns set in the flags app (colType"qc_input", e.g. ring quality flags and comments) that are empty (NA, orNA/FALSEfor flags) in all rows are not written.- keep_derived
If
FALSE, derived columns (colType"derived", e.g. cell measures computed from other columns) are not written. They can be recomputed withcomplete_QWAdata(). DefaultTRUE.