visualize
❭ dendrogram
❭ Dendrogram
Dendrogram¶
- class visualize.dendrogram.Dendrogram(cell)¶
Plot a dendrogram of a
Cell
object.Dendrograms are schematic representations of neuron morphologies.
Example:
>>> d = Dendrogram(cell) >>> ax = d.plot() >>> ax.set_xlabel('Distance from soma ($\mu m$)')
- Methods:¶
plot
(ax)Plot the dendrogram.
get_parent_by_name
(name)Get the parent of a dendrogram section by its name.
_plot_dendrogram
(ax, colormap)Plot the dendogram on an axes object.