neuprint_get_synapses: Get the locations of pre- and post synapses associated with a...

Description Usage Arguments Value See Also

View source: R/synapses.R

Description

Get the xyz locations, IDs and confidences of pre- and post synapses associated with a body

Usage

1
2
neuprint_get_synapses(bodyids, roi = NULL, progress = FALSE,
  dataset = NULL, conn = NULL, ...)

Arguments

bodyids

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

roi

a roi (i.e. neuropil volume) you want to query. Use neuprint_ROIs to see what is available. Defaults to 'all', which will return synapses in all ROIs.

progress

if TRUE, a progress bar will be shown. This may slow the data fetching process.

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.

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, where each entry is a connection between the specified bodyid and its partner, either presynaptic to the bodyid (prepost=0) or postsynaptic (prepost=1). Each connection is associated with a synapse that has its own unique connector_id, XYZ coordinates and a confidence in its existence.

See Also

neuprint_fetch_custom, neuprint_simple_connectivity, neuprint_common_connectivity


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