ngl_blank_scene: Return a blank neuroglancer scene based on a specified...

View source: R/urls.R

ngl_blank_sceneR Documentation

Return a blank neuroglancer scene based on a specified segmentation

Description

defaults to the current segmentation defined by choose_segmentation when release=NULL

Usage

ngl_blank_scene(release = NULL, return.url = FALSE)

Arguments

release

character vector specifying a released segmentation via a known short name or a sample neuroglancer URL.

return.url

Whether to return a URL rather than a ngscene object.

See Also

choose_segmentation

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()
# add a specific id
ngl_blank_scene()+"720575940623755722"
# a different segmentation
ngl_blank_scene("202004")
u=ngl_blank_scene("202004", return.url=TRUE)
## Not run: 
u=ngl_blank_scene("sandbox")
browseURL(u)

## End(Not run)

natverse/fafbseg documentation built on Nov. 11, 2024, 9:50 p.m.