distance.from.first.branchpoint: Calculate geodesic distance from nodes to a neuron's...

View source: R/microtubules.R

distance.from.first.branchpointR Documentation

Calculate geodesic distance from nodes to a neuron's axon-dendrite branchpoint

Description

Calculate geodesic distance from nodes to a neuron's primary, axon-dendrite branchpoint

Usage

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, ...)

Arguments

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


alexanderbates/catnat documentation built on Sept. 5, 2023, 4:51 a.m.