Description Usage Arguments Details Value See Also Examples
writeConfig
writes collapsed list to a tab-delimited
file.
1 | writeConfig(file, path = NULL, parameters)
|
file |
character string: giving the name of the configuration file to write parameters. |
path |
character string: giving the directory to write the file. |
parameters |
list: giving key/value pairs of paramenters for analysis. |
writeConfig
collapses a list of key/value pairs representing
the parameters for the analysis and writes them to a specified
tab-delimited file.
writeConfig
is used to write configuration files in
buildConfig
. See importConfig
for required and
accepted key/value pairs.
writeConfig
returns the new configuration file location.
A character string containing the name of the output file.
Other configuration functions: buildConfig
,
importConfig
, validateConfig
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
writeConfig("config.txt", parameters=params)
# Write tab-delimited config file to another directory
writeConfig("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.