R/create_skeleton.R
create_skeleton_from_nrrd.RdSkeletonise a neuron in Fiji and then use this function to retrieve it as a skeleton
create_skeleton_from_nrrd(files, connection.distance = 25, k = "all", distance.steps = 0.5, ...)
| files | paths to saved .Nrrd files that have been skeletonised in Fiji |
|---|---|
| connection.distance | maximal connection distance between points |
| k | value used in nearest neighbours search to identify close points and draw lines between them |
| distance.steps | each round of the algorithm connects the closest points to the start point / leaf node, that are within the search range, starting at distance.steps and increasing by this amount to the maximal connection.distance |
| ... | additional arguments passed to methods. |
A neuronlist object