vfb_3dbrowser_url: Make a URL for a set of VFB ids to be displayed in the 3D...

View source: R/vfb_stack.R

vfb_3dbrowser_urlR Documentation

Make a URL for a set of VFB ids to be displayed in the 3D browser

Description

Make a URL for a set of VFB ids to be displayed in the 3D browser

Usage

vfb_3dbrowser_url(
  ids,
  template = "VFBt_001",
  server = getOption("vfbr.server.gepetto")
)

Arguments

ids

A character vector of IDs

template

VFB id of the template brain

server

The base url of the server

Value

character vector to open 3D browser

Examples

# some flycircuit neurons
ids=c("VFB_00004657","VFB_00023207","VFB_00023120","VFB_00022264")
u=vfb_3dbrowser_url(ids)

fcids=c("VGlut-F-000304", "VGlut-F-200278", "fru-F-200121", "TH-F-300016")
u2=vfb_3dbrowser_url(vfb_tovfbids(fcids))
## Not run: 
browseURL(u)
browseURL(u2)

## End(Not run)

jefferis/vfbr documentation built on Sept. 3, 2024, 4:41 p.m.