View source: R/brainmaps-api.R
brainmaps_skeleton | R Documentation |
Low level function to fetch skeleton from brainmaps API
brainmaps_skeleton(x, skeletonuri = getOption("fafbseg.skeletonuri"), ...)
x |
A single segment id |
skeletonuri |
The brainmaps URI describing the skeleton source. Defaults
to the value of |
... |
Additional arguments passed to |
This API seems to return skeletons in physical (i.e. already calibrated) coordinates.
A list containing the following fields
nvertices
The number of vertices (n)
nedges
The number of edges (m)
vertices
A n
x 3 matrix of vertex locations
## Not run:
brainmaps_skeleton(9208128833)
brainmaps_skeleton(9208128833,
skeletonuri=paste0("brainmaps://772153499790:fafb_v14:",
"fafb_v14_16nm_v00c_split3xfill2_flatreseg2_skeletons32",
"/teasar512_nnconn165_mc10000_prune10_thresh1000_sparse250"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.