summary.neuronlist | R Documentation |
summary.neuronlist
computes tree statistics for all the
neurons in a neuronlist object
summary.neuron
computes statistics for individual neurons
summary.mesh3d
computes statistics including face numbers
and surface area for meshes. See vcgArea
for details of
area calculation.
summary.dotprops
computes statistics for individual
neurons in dotprops format. Note the veclength
argument.
## S3 method for class 'neuronlist'
summary(object, ..., include.attached.dataframe = FALSE)
## S3 method for class 'neuron'
summary(object, ...)
## S3 method for class 'mesh3d'
summary(object, ...)
## S3 method for class 'dotprops'
summary(object, veclength = 1, ...)
object |
The neuron or neuronlist to summarise |
... |
For |
include.attached.dataframe |
Whether to include the neuronlists attached metadata in the returned data.frame. |
veclength |
The vector length to assume for each segment so that a cable length estimate can be made. |
A data.frame
summarising the tree properties of the neuron
with columns
root
nodes
segments
branchpoints
endpoints
cable.length
nTrees
seglengths
, vcgArea
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.