R/ngraph.R
prune_strahler.RdPrune a neuron by removing segments with a given Strahler order
prune_strahler(x, orderstoprune = 1:2, ...)A neuron
Integer indices of which Strahler orders to prune -
defaults to the lowest two orders (1:2)
Additional arguments passed to as.neuron.data.frame
The pruned neuron
strahler_order, spine, for finding the
longest path in a neuron, prune for subsetting
dotprops style neurons by spatial proximity,
as.neuron.data.frame, which is used to generate the new
neuron.