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 |
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.
Note that by default this fetches both skeleton and connector (synapse) information.
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) # }