R/catmaid_nat.R
plot3d.catmaidneuron.Rd
Plot skeleton and connectors for neuron retrieved from CATMAID
# S3 method for catmaidneuron
plot3d(x, WithConnectors = FALSE, WithNodes = FALSE, soma = FALSE, ...)
A neuron to plot
logical indicating whether or not to plot connectors
(defaults to FALSE
).
logical indicating whether to plot branch/end points
(defaults to FALSE
since they will obscure the synapses).
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
.
if (FALSE) {
nl=read.neurons.catmaid(c(4181593,15738886))
plot3d(nl)
# now with connectors (i.e. synapses)
plot3d(nl, WithConnectors=TRUE)
}