The Virtual Fly Brain project provides a website virtualflybrain.org containing neuroanatomical data for the fruit fly, Drosophila melanogaster, curated from published journal articles and bulk image data. This package enables queries against an experimental (as of time of writing) API.
Queries
vfb_solr_query
Allows you to query VFB's SOLR end point. This gives you programmatic access to the great majority of searches that you can perform interactively on the VFB website.vfb_neo4j_query
Allows you to query VFB's Neo4J end point. This gives you programmatic access to many sophisticated searches based on the VFB ontology, including searches that may not be easily accessible via the website.vfb_synonym_query
A higher level function that allows you to search for canonical terms with synonyms matching a given query.
Package Options
The following options can be set to specify default
behaviour. They will be set to sensible defaults on package startup, unless
you have previously set a value (e.g. in your Rprofile
).
vfbr.server
URL of main VFB servervfbr.server.neo4j
URL for Neo4J graph database queriesvfbr.server.solr
URL for SOLR queriesvfbr.server.owl
URL for OWL ontology queriesvfbr.server.gepetto
URL of VFB's gepetto server for 3D visualisation (seevfb_3dbrowser_url
.)vfbr.server.r
URL for opencpu/R queries - not for users at the momentvfbr.stack.gmr_url
URL containing listing of registered GMR Gal4 confocal stacks. Seegmr_stack_urls
vfbr.stack.downloads
Location of downloaded stacks. Seedownload_gmr_stacks
Author
Maintainer: Gregory Jefferis jefferis@gmail.com (ORCID)
Examples
# Show state of vfbr package options
options()[grep('^vfbr', names(options()))]
#> $vfbr.server
#> [1] "http://virtualflybrain.org"
#>
#> $vfbr.server.gepetto
#> [1] "http://vfbsandbox3.inf.ed.ac.uk:8180"
#>
#> $vfbr.server.neo4j
#> [1] "http://pdb.virtualflybrain.org"
#>
#> $vfbr.server.owl
#> [1] "http://owl.virtualflybrain.org"
#>
#> $vfbr.server.r
#> [1] "http://r.virtualflybrain.org"
#>
#> $vfbr.server.solr
#> [1] "http://solr.virtualflybrain.org"
#>
#> $vfbr.stack.downloads
#> [1] "~/.local/share/rpkg-vfbr/stacks"
#>
#> $vfbr.stack.gmr_url
#> [1] "http://flybrain.mrc-lmb.cam.ac.uk/vfb/jfrc/fl/reformatted-quant/"
#>
if (FALSE) { # \dontrun{
example(vfb_solr_query)
} # }