read_ng_dump | R Documentation |
Read neuroglancer data dump from disk / web
read_ng_dump(x, ...)
x |
Path to directory, zip file, or set of data files |
... |
Additional argument passed to |
A neuroglancer data dump consists of a mix of JSON and custom binary
data files, which together define mesh data for (fragments) of neurons
together with associated metadata. See fetch_all_curl
for how
to prepare such a data dump.
A list of class ng_raw_list
with additional metadata as
attributes.
fetch_all_curl
, read_ng_raw
## Not run:
fetch_all_curl("all_curl.sh", outdir="alldata",
regex="brainmaps.googleapis.com", fixed=TRUE)
meshdata=read_ng_dump("alldata")
m=as.mesh3d(meshdata)
shade3d(m, col='red')
# can also be a (remote) zip file
meshdata=read_ng_dump("https://myfiles.com/myneuron.zip")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.