omnipath_cache_get | R Documentation |
Retrieves one item from the cache directory
omnipath_cache_get(
key = NULL,
url = NULL,
post = NULL,
payload = NULL,
create = TRUE,
...
)
key |
The key of the cache record |
url |
URL pointing to the resource |
post |
HTTP POST parameters as a list |
payload |
HTTP data payload |
create |
Create a new entry if doesn't exist yet |
... |
Passed to |
Cache record: an existing record if the entry already exists, otherwise a newly created and inserted record
# create an example cache record
bioc_url <- 'https://bioconductor.org/'
version <- omnipath_cache_latest_or_new(url = bioc_url)
omnipath_cache_remove(url = bioc_url) # cleaning up
# retrieve the cache record
record <- omnipath_cache_get(url = bioc_url)
record$key
# [1] "41346a00fb20d2a9df03aa70cf4d50bf88ab154a"
record$url
# [1] "https://bioconductor.org/"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.