dot-load_config_group: Load a group of YAML config files.

.load_config_groupR Documentation

Load a group of YAML config files.

Description

Load a group of YAML config files.

Usage

.load_config_group(dir, cfg_defs, cfg_pipeline = NULL, process = TRUE, ...)

Arguments

dir

A character scalar: path to directory with YAML config files.

cfg_defs

A list of lists of length three. In each list, the first item is a name of YAML file in dir, the second one is a name in the resulting named list, and the third one is a processing function.

cfg_pipeline

One of:

  • A scdrake_list object: pipeline config (see load_pipeline_config()) obtained from pipeline.yaml file located in a pipeline config directory

  • NULL: the config will be loaded using the path defined in the scdrake_pipeline_config_dir option

  • A scalar character or fs_path object: the config is loaded from this path

process

A logical scalar: if TRUE, apply a processing function on its associated config list.

...

Passed to load_pipeline_config(), load_config(), and .load_configs().

Value

A named scdrake_list of scdrake_lists for each entry in cfg_defs list.


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.