View source: R/catmaid_skeleton.R
catmaid_get_compact_skeleton | R Documentation |
Return the raw data for a CATMAID neuronal skeleton
catmaid_get_compact_skeleton( skid, pid = 1L, conn = NULL, connectors = TRUE, tags = TRUE, raw = FALSE, ... )
skid |
single skeleton id |
pid |
project id (default 1) |
conn |
the |
connectors |
Whether to fetch connector information |
tags |
Whether to fetch tag information |
raw |
Whether to return completely unprocessed data (when |
... |
Additional arguments passed to the |
Note that by default this fetches both skeleton and connector (synapse) information.
An R list object with three elements
nodes A data frame containing XYZ location, node identifiers etc for each point in the neuron.
connectors A data frame containing the position and tree node identifiers for the synaptic partners.
tags A list containing one vector for each named tag; the vectors
contain node ids that are also present in the nodes
element.
read.neuron.catmaid
to read as neuroanatomy toolbox
neuron that can be plotted directly. catmaid_fetch
.
## Not run: ## ensure that you have done something like # conn=catmaid_login() # at least once this session to connect to the server skel=catmaid_get_compact_skeleton(10418394) # no connector (i.e. synapse) information skel=catmaid_get_compact_skeleton(10418394, connectors = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.