wb_clean_cache | R Documentation |
The package downloads files from Wormbase when needed. They are stored in a cache directory so as to alleviate the need for downloading the same file every time it is needed. Use this function to clean up the cache directory when a set of downloaded files will no longer be needed.
wb_clean_cache(WS = NULL, dir_cache = NULL, delete = TRUE)
WS |
If specified, only delete files corresponding to this Wormbase release. |
dir_cache |
Location of the cache directory to clean up. |
delete |
If FALSE, the list of files to delete is returned and nothing is actually deleted. |
Invisibly returns the cache directory location (if delete is TRUE).
## Not run:
dir <- tempdir()
wb_load_gene_ids(230, dir)
list.files(dir)
wb_clean_cache(dir_cache = dir)
list.files(dir)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.