plot_catmaid: Quickly plot neurons from CATMAID

Description Usage Arguments Value Examples

View source: R/3D_plots.R

Description

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

Usage

1
2
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

1
2
3
4
## Not run: 
plot_catmaid(skid = 'WTPN2017_uPN_right', volumes = 'v14.neuropil')

## End(Not run)

fmlove/tracerutils documentation built on April 29, 2020, 11:09 p.m.