Read neuroglancer data dump from disk / web
Arguments
- x
Path to directory, zip file, or set of data files
- ...
Additional argument passed to
read_ng_raw
Details
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.
Examples
if (FALSE) { # \dontrun{
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")
} # }