Find generic URL to image stack for download from VFB based on VFB ID
Source:R/vfb_stack_downloads.R
vfb_download_url_from_vfbid.Rd
Find generic URL to image stack for download from VFB based on VFB ID
Details
This function expects the VFB id which has been designated for e.g.
a GAL4 line image. You can find these on the VFB webpages as
VFB_XXXXXXXX
. In contrast to gmr_stack_urls_for_ids
, this
should work for the image data associated with any VFB id.
Examples
# \donttest{
vfb_download_url_from_vfbid("VFB_00029638")
#> [1] "http://www.virtualflybrain.org/data/VFB/i/0002/9638/volume.nrrd"
vfb_download_url_from_vfbid(29638)
#> [1] "http://www.virtualflybrain.org/data/VFB/i/0002/9638/volume.nrrd"
# find ids for a VT line
vtids=vfb_solr_query(filterquery="VFB_*",query="label:VT017929*")$short_form
# and then get the download URLs
vfb_download_url_from_vfbid(vtids)
#> character(0)
# find ids for a GMR line and then get the download URL
vfb_download_url_from_vfbid(gmr_vfbid("13E10"))
#> [1] "http://www.virtualflybrain.org/data/VFB/i/NA/NA/volume.nrrd"
# }