Plot skeleton and connectors for neuron retrieved from CATMAID

# S3 method for catmaidneuron
plot3d(x, WithConnectors = FALSE, WithNodes = FALSE, soma = FALSE, ...)

Arguments

x

A neuron to plot

WithConnectors

logical indicating whether or not to plot connectors (defaults to FALSE).

WithNodes

logical indicating whether to plot branch/end points (defaults to FALSE since they will obscure the synapses).

soma

Whether to plot a sphere at neuron's origin representing the soma. Either a logical value or a numeric indicating the radius (default FALSE). When soma=TRUE the radius is hard coded to 2.

...

additional arguments passed to plot3d.neuron (synapses). Default: TRUE.

See also

Examples

if (FALSE) {
nl=read.neurons.catmaid(c(4181593,15738886))
plot3d(nl)

# now with connectors (i.e. synapses)
plot3d(nl, WithConnectors=TRUE)
}