vfb_stack_url: Make a URL for a set of VFB ids to be displayed in the stack...

Description Usage Arguments Value Examples

View source: R/vfb_stack.R

Description

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

Usage

1
2
3
4
5
6
7
vfb_stack_url(
  ids,
  terminfo = NULL,
  clear = FALSE,
  path = "/site/stacks",
  server = getOption("vfbr.server")
)

Arguments

ids

A character vector of IDs

terminfo

A VFB id used to choose which term information will be displayed next to the stack browser.

clear

Whether to clear items already displayed in the stack browser (default FALSE)

path

The path on the server containing the query page

server

The base url of the server

Value

character vector to open stack browser

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# some gmr lines
ids=c("VFB_00004657","VFB_00023207","VFB_00023120","VFB_00022264")
template="VFBt_00100000"
u=vfb_stack_url(c(template, ids))

# find vfb id for this class of neuron often called fruitless mAL neuron
resdf=vfb_solr_query("synonym:mAL",filterquery = c("label:female","label:neuron"))
head(resdf)
u=vfb_stack_url(c(template, ids), terminfo=resdf$short_form[1], clear=TRUE)
## Not run: 
browseURL(u)

## End(Not run)

jefferis/vfbr documentation built on Feb. 17, 2021, 4:46 p.m.