Fragment a skeleton into compartments that have been assigned using flow.centrality(). Note that this will break down a neuron regardless of the segregation score calculated by the flow.centrality algorithm.

neurites(x, fragment = c("axons", "dendrites", "primary dendrite",
  "primary neurite", "nulls"), ...)

# S3 method for neuron
neurites(x, fragment, ...)

# S3 method for neuronlist
neurites(x, fragment, ...)

Arguments

x

A neuronlist that has been processed by flow.centrality()

fragment

The type of neurite fragment to retrieve. 'Nulls' refers to areas of zero flow. See Schnieder-Mizell et al. (2016)

...

additional arguments passed to methods.

Value

Neurites as a neuronlist object, complete with synaptic information relevant to that fragment.

See also