View source: R/inside_neuropils.R
inside_neuropils | R Documentation |
Calculates the cable length supplied by neurons 'x' to different brain regions defined in 'brain'.
inside_neuropils(
x,
brain,
method = c("cable", "PRE", "POST"),
min.endpoints = 1,
alpha = NULL,
...
)
## S3 method for class 'neuron'
inside_neuropils(
x,
brain,
method = c("cable", "PRE", "POST"),
min.endpoints = 1,
alpha = NULL,
...
)
## S3 method for class 'neuronlist'
inside_neuropils(
x,
brain,
method = c("cable", "PRE", "POST"),
min.endpoints = 1,
alpha = NULL,
...
)
points_in_neuropil(x, brain, alpha = NULL, ...)
in_neuropil(
x,
brain,
neuropil,
method = c("cable", "PRE", "POST"),
min.endpoints = 1,
alpha = NULL,
...
)
## S3 method for class 'neuron'
in_neuropil(
x,
brain,
neuropil,
method = c("cable", "PRE", "POST"),
min.endpoints = 1,
alpha = NULL,
...
)
## S3 method for class 'neuronlist'
in_neuropil(
x,
brain = nat.flybrains::FCWBNP.surf,
neuropil = "LH_R",
method = c("cable", "PRE", "POST"),
min.endpoints = 1,
alpha = NULL,
...
)
x |
a set of neurons or, for points_in_neuropil a mxn matrix of 3D points |
brain |
the .surf brainspace in which the neurons are registered, must be segmented into neuropils |
method |
whether to calculate cable inside a given neuropil volume, or synapse number (PRE or POST) |
min.endpoints |
the minimum number of endpoints a neuron must have in a neuropil to be counted as included in it |
alpha |
the alpha given to the ashape3d() function to generate neuropil objects by which to calculate point inclusion.
If |
... |
additional arguments passed to methods |
neuropil |
the code for the neuropil volume to be searched. |
a matrix of 3D points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.