Description Usage Arguments Details Value See Also Examples
buildConfig
writes a list of validated key/value pairs to
a tab-delimited file.
1 | buildConfig(file, path = NULL, parameters)
|
file |
A character string giving the name of the file. |
path |
A character string giving the directory containing the file. This may be omitted if the file is in the current working directory. |
parameters |
A list containing key/value pairs which define the parameters for the analysis. |
buildConfig
takes a list of key/value pairs which represent
the parameters for the analysis, validates them using
validateConfig
and then writes them to a tab-delimited
configuration file using writeConfig
.
See importConfig
for required and accepted key/value pairs.
buildConfig
returns the new configuration file location.
A character string containing the name of the output configuration file.
Other configuration functions: importConfig
,
validateConfig
, writeConfig
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# Basic parameter list
params <- list ( 'counts_directory' = "/path/to/counts.txt",
'targets_file' = "/path/to/targets.txt",
'results_directory' = "/path/to/result_dir")
# Write tab-delimited config file to working directory
buildConfig("config.txt", parameters=params)
# Write tab-delimited config file to another directory
buildConfig("config.txt", path="/path/to/config", parameters=params)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.