implementation of the algorithm for clustering neurons by synapse location from Schlegel et al. (2016). Assumes neurons are scaled to microns.
scan4matching(someneuronlist, pairs, reference, ...)
someneuronlist | a neuronlist or neuron object |
---|---|
pairs | A data frame / matrix of two columns named skid.right and skid.left perhaps generated using the deformetricar package to estimate neuron cognates. |
reference | A reference object to plot. E.g. CNS cortex. |
... | additional arguments passed to methods. |