Description Usage Arguments Note
View source: R/cache_current_gwascat.R
use BiocFileCache to retrieve and keep an image of the tsv file
1 2 3 4 5 | get_cached_gwascat(
url = "http://www.ebi.ac.uk/gwas/api/search/downloads/alternative",
cache = BiocFileCache::BiocFileCache(),
...
)
|
url |
character(1) url to use |
cache |
BiocFileCache::BiocFileCache instance |
... |
passed to bfcadd |
will If query of cache with 'ebi.ac.uk/gwas' returns 0-row tibble, will populate cache with bfcadd. Uses readr::read_tsv on cache content to return tibble. The etag field does not seem to be used at EBI, thus user must check for updates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.