distance.from.first.branchpoint | R Documentation |
Calculate geodesic distance from nodes to a neuron's primary, axon-dendrite branchpoint
distance.from.first.branchpoint(x, ...)
## S3 method for class 'neuron'
distance.from.first.branchpoint(x, graph.distance = TRUE, ...)
## S3 method for class '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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.