Skip to contents

gmr_stack_urls returns all URLs. This is expensive but can be memoised (cached).

gmr_stack_urls_for_ids returns URLs for specified GMR Gal4 lines

Usage

gmr_stack_urls(gmr_url = getOption("vfbr.stack.gmr_url"))

gmr_stack_urls_for_ids(ids)

Arguments

gmr_url

The URL of the directory containing all registered GMR images for download.

ids

Character vector of GMR ids specified in any way

Value

A character vector of URLs each named by their GMR ID

Character vector of named URLs

Details

You probably won't want to use this directly

Examples

# \donttest{
u=gmr_stack_urls()
#> Error in open.connection(x, "rb"): HTTP error 404.
length(u)
#> Error in eval(expr, envir, enclos): object 'u' not found
# }
if (FALSE) { # \dontrun{
gmr_stack_urls_memo=memoise::memoise(gmr_stack_urls)
system.time(u2 <- gmr_stack_urls_memo())
# and again
system.time(u3 <- gmr_stack_urls_memo())
stopifnot(all.equal(u2,u3))
} # }