Skip to contents

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 server

  • vfbr.server.neo4j URL for Neo4J graph database queries

  • vfbr.server.solr URL for SOLR queries

  • vfbr.server.owl URL for OWL ontology queries

  • vfbr.server.gepetto URL of VFB's gepetto server for 3D visualisation (see vfb_3dbrowser_url.)

  • vfbr.server.r URL for opencpu/R queries - not for users at the moment

  • vfbr.stack.gmr_url URL containing listing of registered GMR Gal4 confocal stacks. See gmr_stack_urls

  • vfbr.stack.downloads Location of downloaded stacks. See download_gmr_stacks

See also

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)
} # }