This function visualizes a neuron or neuron-related object from the BANC connectomic dataset using ggplot2. The only thing specific to the BANC data set is are the prreset 'view' angles.
Arguments
- x
A 'neuron', 'neuronlist', 'mesh3d', or 'hxsurf' object to be visualized.
- volume
A brain/neuropil volume to be plotted in grey, for context. Defaults to NULL, no volume plotted.
- info
Optional. A string to be used as the plot title.
- view
A character string specifying the view orientation. Options are "main", "side", "front", "vnc", "vnc_side", "brain_side".
- cols1
A vector of two colors for the lowest Z values. Default is c("turquoise", "navy").
- cols2
A vector of two colors for the highest Z values. Default is c("grey75", "grey50").
- alpha
Transparency of the neuron visualization. Default is 0.5.
- title.col
Color of the plot title. Default is "darkgrey".
- ...
Additional arguments passed to geom_neuron().