Retrieve one or more neurons from CATMAID and plot them, along with one or more CATMAID volumes if desired

plot_catmaid(skid, volumes = NULL, ncol = NULL, vcol = NULL,
  valpha = NULL)

Arguments

skid

Required; the skeleton ID(s) of the neuron(s) in CATMAID. Any format accepted by read.neurons.catmaid() from the catmaid package can be used.

volumes

The names of the volumes in CATMAID to be plotted. Defaults to NULL.

ncol

The colour(s) to use when plotting the specified neuron(s). If a vector of colour names is provided, the colours will be applied to the neurons in the order specified, repeating from the beginning if there are more neurons than colours. Uses default from NAT package if unspecified.

vcol

The colour(s) to use when plotting the specified volume(s). Behaves the same way as ncol. Defaults to gray.

valpha

The alpha value(s) to use when plotting volume(s). Behaves the same way as ncol and vcol. Defaults to 0.1.

Value

Returns the neuron(s) retrieved from CATMAID

Examples

if (FALSE) { plot_catmaid(skid = 'WTPN2017_uPN_right', volumes = 'v14.neuropil') }