neuprint_common_connectivity | R Documentation |
Get the neurons that are shared synaptic partners for a set of given bodyids, either upstream or downstream.
neuprint_common_connectivity(
bodyids,
statuses = NULL,
prepost = c("PRE", "POST"),
all_segments = FALSE,
dataset = NULL,
conn = NULL,
...
)
bodyids |
the cypher by which to make your search |
statuses |
if not NULL, only bodies with the given status are considered. Statuses include: Unimportant,0.5assign,Leaves,Prelim Roughly Traced, Anchor, Orphan. |
prepost |
whether to look for partners presynaptic or postsynaptic to
the given bodyids. So when |
all_segments |
if TRUE, all bodies are considered, if FALSE, only 'Neurons', i.e. bodies with a status roughly traced status. |
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 |
a n x m matrix where n correspond to the neurons that all connect to m bodyids
neuprint_simple_connectivity
,
neuprint_get_adjacency_matrix
da2s=neuprint_search('.*DA2.*')
da2conn = neuprint_common_connectivity(da2s$bodyid[1:2], prepost='PRE')
plot(t(da2conn))
head(cbind(t(da2conn), sum=colSums(da2conn)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.