rename_parameters_in_files: Renames FCS parameters in a set of files

View source: R/paneleditor_helpers.R

rename_parameters_in_filesR Documentation

Renames FCS parameters in a set of files

Description

This function renames FCS parameters in a set of files, as specified by a template

Usage

rename_parameters_in_files(working.dir, out.dir, tab)

Arguments

working.dir

The directory in which the files are located

out.dir

The output directory. This will be created as a subfolder of working.dir

tab

The table specifying how the renaming should be performed. This is a structure similar as the data.frame returned from read_parameters. row.names correspond to the current parameter names in the files, and columns correspond to files (which should be located in the working.dir). The value at [row, column] should contain the value you want to set for the corresponding parameter description (i.e. $PnS). In addition the data.frame must contain two extra columns with the following names

  • Remove logical indicating whether the parameter should be removed from the files

  • Parameter character indicating the desired new name of the parameter (i.e. the new $PnN)


ParkerICI/premessa documentation built on Sept. 16, 2022, 3:06 p.m.