Returns the primary neurite of a neuron, defined as the cable between soma and first branch point
primary.neurite(x, resample = 1, keep.pnt = T, ...) # S3 method for neuron primary.neurite(x, resample = 1, keep.pnt = T, ...) # S3 method for neuronlist primary.neurite(x, resample = 1, keep.pnt = T, ...) starting.neurite(x, k, ...) # S3 method for neuron starting.neurite(x, k = 100, ...) # S3 method for neuronlist starting.neurite(x, k = 100, ...)
x | a neuron or neuronlist object |
---|---|
resample | The new spacing with which to evenly resample each neuron. Can be set to F to prevent resampling. |
keep.pnt | whether to keep just the primary neurite tract of the skeleton, or remove it and keep the neuron's arbour instead |
... | additional arguments passed to methods |
k | the number of nodes from the soma to include |
A neuron pruned to its primary dendrite