neuprint_connectors | R Documentation |
Get synapse IDs for a given connector ID, as well as their associated body IDs and their locations in 3D space.
neuprint_connectors(
connector_ids,
all_segments = TRUE,
conn = NULL,
dataset = NULL,
...
)
connector_ids |
a vector of IDs (pre- or postsynapse IDs) for a synaptic connection object. |
all_segments |
if TRUE, all bodies are considered, if FALSE, only 'Neurons', i.e. bodies with a status roughly traced status. |
conn |
optional, a neuprintr connection object, which also specifies the
neuPrint server. If NULL, the defaults set in your
|
dataset |
optional, a dataset you want to query. If |
... |
Additional arguments passed to |
a data frame, where each entry gives the pre-post associations for a synapse. This includes which are the pre/post synaptic bodyids (neurons/fragments) and the location of these synapses in 3D space (likely raw voxel space).
neuprint_fetch_custom
,
neuprint_get_synapses
syns = neuprint_get_synapses(818983130) # note
# all given connectorIDs from this function are for presynapses
prepost.conn = neuprint_connectors(syns$connector_id, all_segments = TRUE)
head(prepost.conn) # All the synapses that connect to or from 818983130
# and their other connections to other bodies too
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.