scmmCache | R Documentation |
Managing data downloads is important to save disk space and
re-downloading data files. This can be done effortlessly via the integrated
BiocFileCache
system.
scmmCache(...)
setCache(
directory = tools::R_user_dir("SingleCellMultiModal", "cache"),
verbose = TRUE,
ask = interactive()
)
removeCache(accession)
... |
For |
directory |
character(1) The file location where the cache is located.
Once set, future downloads will go to this folder. See |
verbose |
Whether to print descriptive messages |
ask |
logical(1) (default TRUE when |
accession |
character(1) A single string indicating the accession number of the study |
The directory / option of the cache location
Get the directory location of the cache. It will prompt the user to create
a cache if not already created. A specific directory can be used via
setCache
.
Specify the directory location of the data cache. By default, it will go into the user's home and package name directory as given by R_user_dir (default: varies by system e.g., for Linux: '$HOME/.cache/R/SingleCellMultiModal').
Some files may become corrupt when downloading, this function allows the user to delete the tarball associated with a study number in the cache.
getOption("scmmCache")
scmmCache()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.