ab_panel_to_fcs.Rd
This writes channel descriptions and optional keywords to fcs files.
ab_panel_to_fcs(
sampledescription,
FileNames,
FCS.file.folder,
channel_conjugate_match_file = system.file("extdata",
"channel_conjugate_matches.xlsx", package = "fcexpr"),
AbCalcFile_col = "AbCalcFile",
AbCalcSheet_col = "AbCalcSheet",
AbCalcFile.folder = file.path(dirname(FCS.file.folder), "Protocols"),
conjugate_to_desc = T,
other_keywords = c("Isotype", "Clone", "totalDF", "Vendor", "Cat", "Lot", "Antigen",
"Conjugate"),
clear_previous = T
)
data frame of sampledescription
vector of which fcs files to consider
path to the folder containing the fcs files specified in FileNames
path to an xlsx file holding information about fluorochromes matched to channels (better leave as it is for now)
column name in sampledescription indicating the file containing the antibody panel calculation
column name in sampledescription indicating the respective sheet name in AbCalcFile
path to the folder containing the AbCalcFile; if NULL then AbCalcFile_col must contain the full, absolute path of AbCalcFile
alter/update the channel description of fcs files with stained molecule and optionally the fluorochrome
column names in AbCalcSheet of which keywords to write to fcs files
clear all previous entries (channel descriptions and keywords) in fcs files?
no return, but updated fcs files on disk
if (FALSE) {
}