View source: R/sampledescription_to_fcs_keywords.R
sampledescription_to_fcs_keywords | R Documentation |
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)
sampledescription |
data frame |
columns |
vector of column names from sampledescription to write as keywords |
FCS.file.folder |
path to folder of FCS files |
no return but keywords written to FCS files
## Not run:
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"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.