sampledescription_to_fcs_keywords.Rd
Given a sampledescription with annotation of fcs files such meta data may be written as keyword into respective fcs files.
sampledescription_to_fcs_keywords(sampledescription, columns, FCS.file.folder)
data frame
vector of column names from sampledescription to write as keywords
path to folder of FCS files
no return but keywords written to FCS files
if (FALSE) {
wd <- dirname(dirname(rstudioapi::getActiveDocumentContext()$path))
sd <- openxlsx::read.xlsx(file.path(wd, sampledescription.xlsx))
# if only a subset of files should be considered, select respective rows
sampledescription_to_fcs_keywords(sampledescription = sd, columns = c("Patient", "ExpPart"), FCS.file.folder = file.path(wd, "FCS_files"))
}