gmr_stack_urls: Return the urls for GMR-Gal4 stacks

Description Usage Arguments Details Value Examples

View source: R/vfb_stack_downloads.R

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

1
2
3
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 Feb. 17, 2021, 4:46 p.m.