mirror_fish mirrors objects with 3D vertices calibrated
in nanometres across the fish2 midline using a thin plate spline
registration derived from Philipp Schlegel's navis-fishbrains landmarks.
fish2_mirror_reg is the underlying
tpsreg registration object for mirroring.
Arguments
- x
Any object with 3D vertices (calibrated in nm), e.g. a neuron, a neuronlist, a mesh, or a 3-column matrix / data frame of points.
- ...
Additional arguments passed to
xform_brain.
Details
fish2_mirror_reg is shipped with the package and added to the
nat.templatebrains registry on package load by
fish_register_xforms, so calling mirror_fish normally
needs no setup. See data-raw/fish2_mirror_reg.R for the construction
recipe from the upstream
navis-fishbrains
landmark CSV.