Description Usage Arguments Format Details See Also Examples
There are three helper functions which attempt to manage parameters used by flowr and ngsflows:
get_opts OR opts_flow\$get()
: show all default options
set_opts OR opts_flow\$set()
: set default options
load_opts OR opts_flow\$load()
: load options specified in a tab separated text file
For more details regarding these functions refer to params package.
1 2 3 4 5 |
... |
|
opts_flow
An object of class list
of length 5.
By default flowr loads, ~/flowr/conf/flowr.conf
and ~/flowr/conf/ngsflows.conf
Below is a list of default flowr options, retrieved via
opts_flow$get()
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |name |value |
|:-----------------|:------------------------|
|default_regex |(.*) |
|flow_base_path |~/flowr |
|flow_conf_path |~/flowr/conf |
|flow_parse_lsf |.*(\<[0-9]*\>).* |
|flow_parse_moab |(.*) |
|flow_parse_sge |(.*) |
|flow_parse_slurm |(.*) |
|flow_parse_torque |(.?)\..* |
|flow_pipe_paths |~/flowr/pipelines |
|flow_pipe_urls |~/flowr/pipelines |
|flow_platform |local |
|flow_run_path |~/flowr/runs |
|my_conf_path |~/flowr/conf |
|my_dir |path/to/a/folder |
|my_path |~/flowr |
|my_tool_exe |/usr/bin/ls |
|time_format |%a %b %e %H:%M:%S CDT %Y |
|verbose |FALSE |
|
fetch params read_sheet
1 2 3 4 5 6 7 8 9 10 11 12 | ## Set options: opts_flow$set()
opts = opts_flow$set(flow_run_path = "~/mypath")
## OR if you would like to supply a long list of options:
opts = opts_flow$set(.dots = list(flow_run_path = "~/mypath"))
## load options from a configuration file: opts_flow$load()
conffile = fetch_conf("flowr.conf")
opts_flow$load(conffile)
## Fetch options: get_opts()
opts_flow$get("flow_run_path")
opts_flow$get()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.