View source: R/processFlowjoExportDir.R
processFlowjoExportDir | R Documentation |
This function reads a directory of FlowJo Export csv files, asserts that there are matching files for all annotations, combines all the csv files into a single data frame, joins the combined data frame with a plate setup file (annotations), and writes the output to a text file. Warning: below generated roxygen documentation generated by chatgpt without checking
processFlowjoExportDir(
dir,
csvstring = "_P1.csv",
fileout = "P1_combodf.txt",
platesetupfile = "platesetup.txt",
IDvar = "Sample",
fcsheader = TRUE
)
dir |
A character string representing the directory that contains the FlowJo Export csv files. |
csvstring |
A character string representing the pattern to match in the csv file names (default = '_P1.csv'). |
fileout |
A character string representing the output filename (default = 'P1_combodf.txt'). |
platesetupfile |
A character string representing the plate setup file name (default = 'platesetup.txt'). |
IDvar |
A character string representing the unique identifier variable/column name in the plate setup file (default = 'Sample'). |
fcsheader |
A logical indicating whether the csv files have Flow Cytometry Standard (FCS) headers (default = TRUE). |
A data frame that contains the combined data of all csv files and annotations from the plate setup file. The output data frame is also written as a tab-delimited text file in the provided directory.
## Not run:
processFlowjoExportDir(dir = "path/to/your/directory", csvstring = '_P1.csv',
fileout = 'P1_combodf.txt', platesetupfile = 'platesetup.txt',
IDvar = 'Sample', fcsheader = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.