neuprint_get_shortest_paths | R Documentation |
Get all of the shortest paths in the database that connect the query neurons with at least weightT synapses at each step
neuprint_get_shortest_paths(
body_pre,
body_post,
weightT = 5,
roi = NULL,
by.roi = FALSE,
chunk = TRUE,
progress = FALSE,
dataset = NULL,
conn = NULL,
all_segments = FALSE,
...
)
body_pre |
the bodyid of the neuron at the start of the path |
body_post |
the bodyid of the neuron at the end of the path |
weightT |
weight threshold |
roi |
Limit the search to connections happening within a certain ROI or set of ROIs (NULL by default) |
by.roi |
Return the results by ROI. Default to FALSE |
chunk |
A logical specifying whether to split the query into multiple
chunks or an integer specifying the size of those chunks (which defaults
to 5 when |
progress |
if TRUE, a progress bar will be shown. This may slow the data
fetching process for smaller queries. The default of
|
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
|
all_segments |
if TRUE, all bodies are considered, if FALSE, only 'Neurons', i.e. bodies with a status roughly traced status. |
... |
methods passed to |
neuprint_get_paths
,
neuprint_common_connectivity
,
neuprint_get_adjacency_matrix
neuprint_get_shortest_paths(c(1128092885,481121605),5813041365,weightT=20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.