neuprint_find_neurons | R Documentation |
Find bodies that input/output within certain ROIs (i.e. they must have synapses in these areas)
neuprint_find_neurons(
input_ROIs,
output_ROIs = NULL,
dataset = NULL,
conn = NULL,
all_segments = FALSE,
...
)
neuprint_bodies_in_ROI(
roi,
dataset = NULL,
all_segments = FALSE,
conn = NULL,
...
)
input_ROIs |
a vector of input ROIs. Use |
output_ROIs |
a vector of input ROIs. Use |
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 |
roi |
a single ROI. Use |
a n x n matrix, where the rows are input neurons and the columns are their targets
neuprint_fetch_custom
, neuprint_simple_connectivity
, neuprint_common_connectivity
# Find some neurons with inputs in the Antennal Lobe (AL) and
# outputs in the LH
pncands=neuprint_find_neurons(input_ROIs = "AL(R)", output_ROIs = "LH(R)")
head(pncands)
plot(`LH(R).pre`~`AL(R).post`, data=pncands)
lhr=neuprint_bodies_in_ROI('LH(R)')
head(lhr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.