Find a good "key" point on a neuron to associate with annotations
Source:R/aedes_key_point.R
aedes_key_point.RdThe chosen point sits at the major branch point of the L2 skeleton of each neuron. By default the L2 skeleton is rerooted onto the endpoint furthest from the current root so that a simplified representation with one branch point can be calculated; without this, the longest path from the root may not contain a branch point at all. If no branch point can be identified the original root point is used as a fallback.
Arguments
- ids
One or more aedes root ids (or anything accepted by
aedes_ids()).- raw
Whether to return points in raw (voxel) space (default) or nm.
- reroot
Whether to reroot the incoming neuron onto the furthest endpoint before simplifying.
- ...
Additional arguments passed to
pbapply::pbsapply().