getCacheFile: Find cache file location by name

Description Usage Arguments Details Value Examples

Description

Finds the location for a cache file. The file does not necessary need to exist yet, as this function is meant to be used determine to a location for both storage and retrieval.

Usage

1

Arguments

name

the name of the file, e.g. "P12456_alignment.fasta"

Details

Depending on the execution context, the storage location may differ. The cache location can be controlled with the environment variable $MAVECLIN_CACHE. This will be made use of within the mavevis server docker container. If the variable is not set, a directory ".mavecache/" will be created in the user's home directory to be used as the storage location.

Value

the full path to the file

Examples

1
file <- getCacheFile("P12345_alignment.fasta")

jweile/maveclin documentation built on May 4, 2019, 3:08 a.m.