prune_online | R Documentation |
Remove points from a neuron, keeping the root node intact.
prune_online(x, ...)
## S3 method for class 'neuron'
prune_online(x, ...)
## S3 method for class 'neuronlist'
prune_online(x, ...)
x |
The object to prune. (e.g. |
... |
Additional methods passed to |
The neuron is plotted initially with all nodes selected (and shown with black points). You can interactively select points to remove (they will now be plotted in red). You can also add points back again (they will return to black). When you are finished, press [e] to exit and then indicate that you have finished (yes).
A pruned neuron/neuronlist object
as.neuron.ngraph
, subset.neuron
,
prune.neuron
## Not run:
## Interactively choose which bit of the neuron you wish to keep
pruned.as.you.like.it = prune_online(Cell07PNs[1:2])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.