Cycle through and manually re-root neurons using an rgl window. This will typically be used for manual identification of the soma of a neuron.

correct_root(someneuronlist, brain = NULL)

Arguments

someneuronlist

a neuron/neuronlist object

brain

for context, plot some other objects (e.g. a brain from the nat.templatebrains package such as FCWB, or any object that may be plotted using plot3d)

Value

a matrix of 3D points

Examples

if (FALSE) { ## NB these neurons actually have their somata chopped off correctedsomas = correct_root(Cell07PNs[1:3]) plot3d(correctedsomas, soma=TRUE) }