Functions for Sholl analysis of neuronal skeletons
sholl_data(neuron, start = colMeans(xyzmatrix(neuron)), starting.radius = radius.step, ending.radius = NULL, radius.step = ending.radius/100)
neuron | a neuron object |
---|---|
start | the origin from which spheres are grown for the Sholl analysis |
starting.radius | the radius of the first sphere. Defaults to the radius step |
ending.radius | the radius of the last sphere. If NULL the distance to the furthest dendritic point from the start point is taken |
radius.step | the change in radius between successive spheres. Defaults to one 100th of the radius of the ending sphere |
a data.frame of spheres radii and the number of dendritic intersections at each radius