override_params: Override pre-set parameters from config file

Description Usage Arguments Examples

View source: R/tgconfig.R

Description

Override pre-set parameters from config file

Usage

1
override_params(config_file, package = NULL)

Arguments

config_file

yaml file with parameters and values

package

package

Examples

1
2
3
4
5
config_file <- example_config_file()
register_params(config_file, 'tgconfig')
get_package_params('tgconfig')
override_params(system.file('config/override_example.yaml', package='tgconfig'), package='tgconfig')
get_package_params('tgconfig')

tanaylab/tgconfig documentation built on Nov. 5, 2019, 9:59 a.m.