make.anatomical.model | R Documentation |
implementation of the algorithm for clustering neurons by synapse location from Schlegel et al. (2016). Assumes neurons are scaled to microns.
make.anatomical.model(
someneuronlist,
substrate = c("connectors", "cable", "both"),
maxdistance = 10000,
groupsize = 100,
alpha = 3000,
auto.selection = T,
chosen.points = NULL
)
someneuronlist |
a neuronlist or neuron object |
substrate |
whether to make the model based off of connectors, neuron cable or both |
maxdistance |
for automated cluster identification. Maximum distance at which nodes can be part of a cluster |
groupsize |
an integer number of nearest neighbours to find using nabor::knn() |
alpha |
a single value or vector of values for α, fed to |
auto.selection |
whether to try and remove points based on interactively chosen values for 'groupsize' and 'maxdistance' |
chosen.points |
whether to feed the function pre-chosen points. A matrix for 3D points |
selection |
whether or not to interactively select values for maxdistance and groupsize. |
... |
additional arguments passed to methods |
An alphashape object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.