Mirror points, neurons in BANC space
Usage
mirror_banc(x, units = c("nm", "microns", "raw"), subset = NULL)
Arguments
- x
Points, neurons or other objects compatible with xyzmatrix
- units
Units for both input and output data.
- subset
Optional argument to transform only a subset of a neuron list.
Value
The transformed object (calibrated according to the units argument)
Details
This is mirroring registration is currently not bad in central brain
and thoracic ganglion, not so good in abdominal ganglion, very poor in optic
lobes.
Examples
BANC.surf.m <- mirror_banc(BANC.surf)
#> Warning: provided 4 variables to replace 3 variables
if (FALSE) { # \dontrun{
library(nat)
wire3d(BANC.surf)
# clearly not great in some places, especially optic lobe, but still useful
wire3d(BANC.surf.m, col='red')
} # }