nat (version 1.8.16)

rootpoints: Return the root or branch points of a neuron or graph

Description

A neuron may have multiple subtrees and therefore multiple roots

Usage

rootpoints(x, ...)

# S3 method for default rootpoints(x, ...)

# S3 method for neuron rootpoints(x, subtrees = 1, ...)

# S3 method for igraph rootpoints(x, ...)

branchpoints(x, ...)

# S3 method for default branchpoints(x, ...)

# S3 method for neuron branchpoints(x, subtrees = 1, ...)

# S3 method for igraph branchpoints(x, ...)

endpoints(x, ...)

# S3 method for neuron endpoints(x, subtrees = 1, ...)

# S3 method for igraph endpoints(x, ...)

# S3 method for default endpoints(x, ...)

Arguments

x

Neuron or other object which might have roots

...

Further arguments passed to methods

subtrees

Integer index of the fully connected subtree in x$SubTrees. Only applicable when a neuron consists of multiple unconnected subtrees.

Value

Integer point number of root/branch point

Details

branchpoints.neuron returns a list if more than one subtree is specified

See Also

Other neuron: neuron(), ngraph(), plot.neuron(), potential_synapses(), prune(), resample(), spine(), subset.neuron()