R/graph-nodes.R
A neuron may have multiple subtrees and therefore multiple roots
Return the branchpoints of a neuron or graph
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, ...)
x | Neuron or other object which might have roots |
---|---|
... | Further arguments passed to methods |
subtrees | Integer index of the fully connected subtree in
|
Integer point number of root/branch point
branchpoints.neuron
returns a list if more than one subtree is
specified
Other neuron: neuron
, ngraph
,
plot.dotprops
,
potential_synapses
, prune
,
resample
, spine
,
subset.neuron