Skip to contents

Restores the built-in default values of all config parameters

Usage

omnipath_reset_config(save = NULL, reset_all = FALSE)

Arguments

save

If a path, the restored config will be also saved to this file. If TRUE, the config will be saved to the current default config path (see omnipath_get_config_path).

reset_all

Reset to their defaults also the options already set in the R options.

Value

The config as a list.

Examples

if (FALSE) {
# restore the defaults and write them to the default config file:
omnipath_reset_config()
omnipath_save_config()
}