flywire_hemibrain_scene: Create a flywire scene that shows your chosen flywire and...

View source: R/ngl-scenes.R

flywire_hemibrain_sceneR Documentation

Create a flywire scene that shows your chosen flywire and hemibrain neuron meshes

Description

Return a sample Neuroglancer scene URL for FlyWire + hemibrain dataset

Usage

flywire_hemibrain_scene(
  bodyid,
  flywire.id,
  hb.rainbow = FALSE,
  fw.rainbow = FALSE,
  ...
)

Arguments

bodyid

character, a vector of one or more valid hemibrain body IDs

flywire.id

character, a vector of one or more valid flywire root IDs

hb.rainbow

logical, if TRUE hemibrain neurons are shown in rainbow colours, else in shades of blue

fw.rainbow

logical, if TRUE flywire neurons are shown in rainbow colours, else in shades of red

...

Additional arguments passed to fafbseg::ngl_encode_url.

Value

A URL

See Also

hemibrain_read_neurons

Examples


## Not run: 
flywire.id = c("720575940611249010","720575940626212584")
bodyid = c("1540129092","1513363614")
scene = flywire_hemibrain_scene(bodyid, flywire.id)
scene

## End(Not run)

natverse/hemibrainr documentation built on Nov. 27, 2024, 9:01 p.m.