View source: R/clusterbysynapse.R
clusterbysynapses | R Documentation |
implementation of the algorithm for clustering neurons by synapse location from Schlegel et al. (2016). Assumes neurons are scaled to microns.
clusterbysynapses(
someneuronlist,
sigma = 1,
omega = sigma,
symmetric = T,
direction = c(0, 1, 2)
)
someneuronlist |
a neuronlist or neuron object |
sigma |
determines what distances between two synapses are considered close (defaults to 1 um) |
omega |
synapse cluster radius. Defaults to sigma. |
symmetric |
whether to return a symmetric matrix (average of scores between two neurons in both directions) |
direction |
cluster neurons by presynapses (0), postsynapses (1) or both (2) |
... |
additional arguments passed to methods. |
A matrix of similarity scores between inputted neurons, based on synapse positions.
seesplit3d
get.synapses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.