primary.neurite: Returns the primary neurite of a neuron

View source: R/neuronlist.R

primary.neuriteR Documentation

Returns the primary neurite of a neuron

Description

Returns the primary neurite of a neuron, defined as the cable between soma and first branch point

Usage

primary.neurite(x, resample = 1, keep.pnt = T, ...)

## S3 method for class 'neuron'
primary.neurite(x, resample = 1, keep.pnt = T, ...)

## S3 method for class 'neuronlist'
primary.neurite(x, resample = 1, keep.pnt = T, ...)

starting.neurite(x, k, ...)

## S3 method for class 'neuron'
starting.neurite(x, k = 100, ...)

## S3 method for class 'neuronlist'
starting.neurite(x, k = 100, ...)

Arguments

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

Value

A neuron pruned to its primary dendrite


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