Return a blank neuroglancer scene based on a specified segmentation
Source:R/urls.R
ngl_blank_scene.Rd
defaults to the current segmentation defined by
choose_segmentation
when release=NULL
See also
Other neuroglancer-urls:
flywire_ids()
,
flywire_scene()
,
ngl_decode_scene()
,
ngl_encode_url()
,
ngl_segments()
,
open_fafb_ngl()
Examples
# blank scene for current segmentation
ngl_blank_scene()
#> neuroglancer scene with 2 layers and 0 segments (of which 0 shown)
#> name type visible nsegs
#> 1 Production-image image TRUE 0
#> 2 Production-segmentation_with_graph segmentation_with_graph TRUE 0
#> nhidden
#> 1 0
#> 2 0
#> source
#> 1 precomputed://gs://microns-seunglab/drosophila_v0/alignment/image_rechunked
#> 2 graphene://https://prod.flywire-daf.com/segmentation/table/fly_v31
# add a specific id
ngl_blank_scene()+"720575940623755722"
#> neuroglancer scene with 2 layers and 1 segments (of which 1 shown)
#> name type visible nsegs
#> 1 Production-image image TRUE 0
#> 2 Production-segmentation_with_graph segmentation_with_graph TRUE 1
#> nhidden
#> 1 0
#> 2 0
#> source
#> 1 precomputed://gs://microns-seunglab/drosophila_v0/alignment/image_rechunked
#> 2 graphene://https://prod.flywire-daf.com/segmentation/table/fly_v31
# a different segmentation
ngl_blank_scene("202004")
#> neuroglancer scene with 2 layers and 0 segments (of which 0 shown)
#> name type visible nsegs nhidden
#> 1 fafb_v14_clahe image TRUE 0 0
#> 2 fafb-ffn1-20200412 segmentation TRUE 0 0
#> source
#> 1 precomputed://gs://neuroglancer-fafb-data/fafb_v14/fafb_v14_clahe
#> 2 precomputed://gs://fafb-ffn1-20200412/segmentation
u=ngl_blank_scene("202004", return.url=TRUE)
if (FALSE) { # \dontrun{
u=ngl_blank_scene("sandbox")
browseURL(u)
} # }