mirror_banc: Mirror points, neurons in BANC space

View source: R/xform.R

mirror_bancR Documentation

Mirror points, neurons in BANC space

Description

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.

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.

Value

The transformed object (calibrated according to the units argument)

See Also

banc_lr_position

Examples

BANC.surf.m <- mirror_banc(BANC.surf)
## Not run: 
library(nat)
wire3d(BANC.surf)
# clearly not great in some places, especially optic lobe, but still useful
wire3d(BANC.surf.m, col='red')

## End(Not run)

flyconnectome/fanc documentation built on Sept. 6, 2024, 9:56 a.m.