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, ...)



One or more numeric skeleton ids or a character vector defining a query (see catmaid_skids or examples for the syntax).


Must be at least this number of synapses between starter neuron and returned partners


The minimum confidence score (1-5, where 5 is high) of the reported connections.


Whether returned neurons can be connected to any character vector (boolean_op="OR", the default) or must be connected to all the specified neurons (boolean_op="AND").


Project id (default 1)


Whether to return completely unprocessed data (when TRUE) or to convert the nodes and connectors lists into processed data.frames (when FALSE, the default)


A catmaid_connection objection returned by catmaid_login. If NULL (the default) a new connection object will be generated using the values of the catmaid.* package options as described in the help for catmaid_login.


Additional arguments passed to the catmaid_fetch function


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

See also

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_get_connector_table, catmaid_get_connectors_between, catmaid_get_connectors, connectors


if (FALSE) { 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') }