This function converts 'neuron', 'mesh3d', or 'neuronlist' objects, which represent 3D points linked by lines in space, into data frames that describe paths compatible with ggplot2's geom_path, or geom_polygon for mesh3d objects.
Usage
ggplot2_neuron_path(x, rotation_matrix = NULL, ...)
# S3 method for class 'neuron'
ggplot2_neuron_path(x, rotation_matrix = NULL, ...)
# S3 method for class 'neuronlist'
ggplot2_neuron_path(x, rotation_matrix = NULL, ...)
# S3 method for class 'mesh3d'
ggplot2_neuron_path(x, rotation_matrix = NULL, ...)
# S3 method for class '`NULL`'
ggplot2_neuron_path(x, rotation_matrix = NULL, ...)