write.files - Write .csv or .fcs files
Arguments
- dat
Dataframe. No default.
- file.prefix
Character prefix to add before filename.
- divide.by
Character. Do you want to write the whole dataset (use NULL) or split it by sample/group/cluster etc (etner the name of the column to divide by, e.g. "SampleName"). Default NULL. .
- write.csv
Defaults to TRUE. Logical. TRUE to write CSV files, FALSE to not.
- write.fcs
Defaults to FALSE. Logical. TRUE to write FCS files, FALSE to not.
This function writes CSV files from your data using fwrite. Can also write FCS files.