View source: R/catmaid_metadata.R
catmaid_query_connected | R Documentation |
Find neurons connected to a starting neuron
catmaid_query_connected( skids, minimum_synapses = 1L, minimum_confidence = 1L, boolean_op = c("OR", "AND"), pid = 1, raw = FALSE, conn = NULL, ... )
skids |
One or more numeric skeleton ids or a character vector defining
a query (see |
minimum_synapses |
Must be at least this number of synapses between starter neuron and returned partners |
minimum_confidence |
The minimum confidence score (1-5, where 5 is high) of the reported connections. |
boolean_op |
Whether returned neurons can be connected to any
character vector ( |
pid |
Project id (default 1) |
raw |
Whether to return completely unprocessed data (when |
conn |
A |
... |
Additional arguments passed to the |
A list containing two data.frames (incoming, outgoing), each data.frame having one row for each partner neuron and the following columns
skid skeleton id of the query neuron
partner the skeleton id of the partner neuron
syn.count the number of synapses made with partner
num_nodes number of nodes in the partner neuron
catmaid_skids
. See
catmaid_get_review_status
to get information about the review
status of partners (as shown in the equivalent CATMAID report).
Other connectors:
catmaid_adjacency_matrix()
,
catmaid_get_connector_table()
,
catmaid_get_connectors_between()
,
catmaid_get_connectors()
,
connectors()
## Not run: orn13a=catmaid_query_by_name("13a ORN left")$skid catmaid_query_connected(orn13a) # connected to either left OR right 13a ORNs orn13as=catmaid_query_by_name("13a ORN") catmaid_query_connected(orn13as) # connected to both left AND right 13a ORNs catmaid_query_connected(orn13as, boolean_op = 'AND') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.