R/neurites.R
arbour.clusters.Rd
Fragment a skeleton into compartments that have been assigned cluster_synapses_within_skeleton() or flow.centrality(). Note that this will break down a neuron regardless of the segregation score calculated across the arbour.
arbour.clusters(x, ...) # S3 method for neuron arbour.clusters(x, ...) # S3 method for neuronlist arbour.clusters(x, neuronlist = FALSE, ...) arbours(arbourcluster, ...) # S3 method for neuron arbours(arbourcluster, ...) # S3 method for neuronlist arbours(arbourcluster, ...)
x | a neuronlist that has been processed by |
---|---|
... | additional arguments passed to methods. |
neuronlist | whether or not to return a neuronlist where each entry is one of the broken up arbours (TRUE) |
arbourcluster | a neuronlist produced from |
Segmented arbours as a neuronlist object, complete with synaptic information relevant to that fragment. If a neuronlist is given, subsequently plotting the neuronlist will not reveal the fragments. However, plotting individual neurons double indexed in the lists will. arbours() returns a neuronlist, where each entry is an arbour fragment with a unique skid and name.