summary.neuronlist
computes tree statistics for all the
neurons in a neuronlist object
summary.neuron
computes statistics for individual neurons
summary.dotprops
computes statistics for individual
neurons in dotprops format. Note the veclength
argument.
# S3 method for neuronlist
summary(object, ..., include.attached.dataframe = FALSE)# S3 method for neuron
summary(object, ...)
# S3 method for dotprops
summary(object, veclength = 1, ...)
A data.frame
summarising the tree properties of the neuron
with columns
root
nodes
segments
branchpoints
endpoints
cable.length
The neuron or neuronlist to summarise
For summary.neuronlist
additional arguments passed on to
summary methods for individual neurons
Whether to include the neuronlists attached metadata in the returned data.frame.
The vector length to assume for each segment so that a cable length estimate can be made.
seglengths
# summary for a whole neuronlist
summary(Cell07PNs)
# including the attached data.frame with additional metadata
head(summary(Cell07PNs, include.attached.dataframe = FALSE))
# for a single regular format neuron
summary(Cell07PNs[[1]])
# for a single dotprops format neuron
summary(kcs20[[1]])
# specify a different estimate for the cable length associated with a single
# point in the neuron
summary(kcs20[[1]], veclength=1.2)
Run the code above in your browser using DataLab