gmr_stack_urls: Return the urls for GMR-Gal4 stacks

View source: R/vfb_stack_downloads.R

gmr_stack_urlsR Documentation

Return the urls for GMR-Gal4 stacks

Description

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

Details

You probably won't want to use this directly

Value

A character vector of URLs each named by their GMR ID

Character vector of named URLs

Examples


u=gmr_stack_urls()
length(u)

## Not run: 
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))

## End(Not run)

jefferis/vfbr documentation built on Sept. 24, 2024, 1:37 p.m.