| file_cache {ODER} | R Documentation |
file_cache will use:
BiocFileCache
and will then cache the file for faster repeated retrival,
if it is not found locally (i.e. a URL).
file_cache(file_path)
file_path |
a path to file of interest. |
file_path of cached file or unchanged file_path if found locally.
rec_url <- recount::download_study(
project = "SRP012682",
type = "samples",
download = FALSE
)
eg_bwfile <- file_cache(rec_url[1])
eg_bwfile