Description Usage Arguments Value See Also
Apply a mirroring and affine transformation to an object in 3D space
1 2 3 4 5 6 7 8 9 10 11 | apply.mirror.affine(x, ...)
## S3 method for class 'neuron'
apply.mirror.affine(x, ...)
## S3 method for class 'neuronlist'
apply.mirror.affine(x, ...)
## Default S3 method:
apply.mirror.affine(x, calculatetransform = NULL,
pathtomatrix = NULL, ...)
|
x |
a set of 3D coordinates (Nx3 matrix), a neuron, neuronlist, dotprops, hxsurf, igraph or mesh3d object. currently point replacement is only supported for neuron and neuronlist objects. |
... |
additional arguments eventually passed to: |
calculatetransform |
whether or not to re-calculate the mirorring transformation, and the affine transformation for the mirrored object onto the original ones. Null defaults to a list of transformation matrices generated from flipping a set of neuroanatomical structures in the L1 larval central nervous system, then performing an affine transformation. Otherwise, |
pathtomatrix |
path to a saved transformation matrix, or list of matrices, that you want to use |
a set of 3D cordinates (or a neuron/neuronlist object if that was given as input), that has undergone sequential mirroring and affine transformations. The default is to flip points in the l1 larval central nervous system from one side to the other.
calculate.full.transformation
mirrormat
transform3dpoints
trafoicpmat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.