Writes an `IFC_data` object to a Flow Cytometry Standard (FCS) file.
ExportToFCS(
obj,
write_to,
overwrite = FALSE,
delimiter = "/",
cytometer = "Image Stream",
...
)
an `IFC_data` object extracted with features extracted.
pattern used to export file. Placeholders, like "%d/%s_fromR.%e", will be substituted: -%d: with full path directory of 'obj$fileName' -%p: with first parent directory of 'obj$fileName' -%e: with extension of 'obj$fileName' (without leading .) -%s: with shortname from 'obj$fileName' (i.e. basename without extension). Exported file extension will be deduced from this pattern. Note that it has to be a .fcs.
whether to overwrite file or not. Default is FALSE. Note that if TRUE, it will overwrite exported file if path of 'fileName' and deduced from 'write_to' arguments are different. Otherwise, you will get an error saying that overwriting source file is not allowed. Note also that an original file will never be overwritten.
an ASCII character to separate the FCS keyword-value pairs. Default is : "/".
string, if provided it to use to fill $CYT keyword. However, when missing it will be filled with obj$description$FCS$instrument if found, otherwise "Image Stream" will be used.
other arguments to be passed.
invisibly returns full path of exported file.