omnipath_set_cachedir: Change the cache directory

View source: R/cache.R

omnipath_set_cachedirR Documentation

Change the cache directory

Description

Change the cache directory

Usage

omnipath_set_cachedir(path = NULL)

Arguments

path

Character: path to the new cache directory. If don't exist, the directories will be created. If the path is an existing cache directory, the package's cache database for the current session will be loaded from the database in the directory. If NULL, the cache directory will be set to its default path.

Value

Returns NULL.

Examples

tmp_cache <- tempdir()
omnipath_set_cachedir(tmp_cache)
# restore the default cache directory:
omnipath_set_cachedir()


saezlab/OmnipathR documentation built on Oct. 16, 2024, 11:49 a.m.