neurites: Segregate neurite compartments from a neuron/neuronlist

View source: R/neurites.R

neuritesR Documentation

Segregate neurite compartments from a neuron/neuronlist

Description

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.

Usage

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

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

## S3 method for class '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

get_connected_skeletons skeleton_connectivity_matrix flow.centrality


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