plot3d.catmaidneuron: Plot skeleton and connectors for neuron retrieved from...

View source: R/catmaid_nat.R

plot3d.catmaidneuronR Documentation

Plot skeleton and connectors for neuron retrieved from CATMAID

Description

Plot skeleton and connectors for neuron retrieved from CATMAID

Usage

## S3 method for class '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

plot3d.neuron

Examples

## Not run: 
nl=read.neurons.catmaid(c(4181593,15738886))
plot3d(nl)

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

## End(Not run)

jefferis/rcatmaid documentation built on Aug. 16, 2022, 8:52 p.m.