R/microtubules.R
distance.from.first.branchpoint.Rd
Calculate geodesic distance from nodes to a neuron's primary, axon-dendrite branchpoint
distance.from.first.branchpoint(x, ...) # S3 method for neuron distance.from.first.branchpoint(x, graph.distance = TRUE, ...) # S3 method for neuronlist distance.from.first.branchpoint(x, graph.distance = TRUE, ...)
x | a neuron/neuronlist object that has primary neurites marked (Label = 7) and soma as the root |
---|---|
... | Additional arguments passed to nlapply |
graph.distance | whether to calculate the graph distance (default) between nodes and the primary branchpoint, or the cable length |