apply.mirror.affine: Apply a mirroring and affine transformation to an object in...

Description Usage Arguments Value See Also

Description

Apply a mirroring and affine transformation to an object in 3D space

Usage

 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, ...)

Arguments

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: calculate.full.transformation mirrormat transform3dpoints

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

Value

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.

See Also

calculate.full.transformation mirrormat transform3dpoints trafoicpmat


alexanderbates/deformetricar documentation built on May 11, 2019, 11:26 p.m.