Update a gate cutoff csv with the Coereba_App edits
Source:R/Coereba_UpdateGates.R
Coereba_UpdateGates.Rd
Update a gate cutoff csv with the Coereba_App edits
Arguments
- Clicks
A path to a .csv file or a folder containing only the Click .csv files.
- Old
File path to the CSV containing the original Estimated Gate Cutoffs
- export
Whether to export the updated .csv, default is TRUE
- outpath
File path to save new .csv file at.
- fileName
Desired name for the updated .csv file
Examples
File_Location <- system.file("extdata", package = "Coereba")
TheOldCSV <- file.path(File_Location, "GateCutoffsForNKs.csv")
TheClickInfo <- file.path(File_Location, "ClickDataExample.csv")
UpdatedCSV <- Coereba_UpdateGates(Clicks=TheClickInfo, Old=TheOldCSV,
export=FALSE, outpath=NULL, fileName="UpdatedCSV")