neuprint_connection_table: Get the upstream and downstream connectivity of a neuron

Description Usage Arguments Value See Also

View source: R/connectivity.R

Description

Get the upstream and downstream connectivity of a body, restricted to within an ROI if specified

Usage

1
2
3
neuprint_connection_table(bodyids, prepost = c("PRE", "POST"),
  roi = NULL, progress = FALSE, dataset = NULL,
  all_segments = TRUE, conn = NULL, ...)

Arguments

bodyids

the body IDs for neurons/segments (bodies) you wish to query

prepost

whether to look for partners presynaptic to postsynaptic to the given bodyids

roi

a single ROI. Use neuprint_ROIs to see what is available.

progress

default FALSE. If TRUE, the API is called separately for each neuron and yuo can asses its progress, if an error is thrown by any one bodyid, that bodyid is ignored

dataset

optional, a dataset you want to query. If NULL, the default specified by your R environ file is used. See neuprint_login for details.

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 see ?neuprint_login. If NULL, your defaults set in your R.profile or R.environ are used.

...

methods passed to neuprint_login

Value

a data frame giving partners within an ROI, the connection strength for weights to or from that partner, and the direction, for the given bodyid

See Also

neuprint_fetch_custom, neuprint_simple_connectivity, neuprint_common_connectivity


alexanderbates/neuprintr documentation built on May 28, 2019, 6:11 p.m.