neuprint_assign_connectors | R Documentation |
Fetch the synapses associated with a bodyid and assign them to the nearest point in the skeleton. For this to work, the skeletons must be in the same brainspace as the synaptic data being pulled from neuprint. I.e. do not transform them to another brainspace, until after this step.
For some datasets, somata positions have been mapped to pixels within a soma volume in the image data. If your bodyids contain such an annotated pixel, you can retrieve its position.
neuprint_assign_connectors(x, bodyids = NULL, dataset = NULL, conn = NULL, ...)
neuprint_locate_soma(
bodyids,
dataset = NULL,
all_segments = TRUE,
conn = NULL,
...
)
x |
either an object of class neuron, or neuronlist |
bodyids |
the body IDs for neurons/segments (bodies) you wish to query.
This can be in any form understood by |
dataset |
optional, a dataset you want to query. If |
conn |
optional, a neuprintr connection object, which also specifies the
neuPrint server. If NULL, the defaults set in your
|
... |
methods passed to |
all_segments |
if TRUE, all bodies are considered, if FALSE, only 'Neurons', i.e. bodies with a status roughly traced status. |
a neuron/neuronlist object as dictated used by the nat
and rcatmaid
packages
a data frame of X,Y,Z coordinates, a row for each bodyid supplied
neuprint_fetch_custom
, neuprint_get_synapses
, neuprint_read_neurons
neuprint_fetch_custom
, neuprint_get_synapses
, neuprint_read_neurons
neuprint_locate_soma("5813115796")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.