clusterbysynapses: Cluster neurons by pre- and postsynapse positions

View source: R/clusterbysynapse.R

clusterbysynapsesR Documentation

Cluster neurons by pre- and postsynapse positions

Description

implementation of the algorithm for clustering neurons by synapse location from Schlegel et al. (2016). Assumes neurons are scaled to microns.

Usage

clusterbysynapses(
  someneuronlist,
  sigma = 1,
  omega = sigma,
  symmetric = T,
  direction = c(0, 1, 2)
)

Arguments

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.

Value

A matrix of similarity scores between inputted neurons, based on synapse positions.

See Also

seesplit3d get.synapses


alexanderbates/catnat documentation built on Sept. 5, 2023, 4:51 a.m.