align.bilat: Align landmarks across a line of symmetry

align.bilatR Documentation

Align landmarks across a line of symmetry

Description

The input array should contain landmark coordinates with p, 2, and n dimensions, where n is the number of specimens and p is the number of landmarks). Dimension 2 must have two columns that contain X and Y locations of the landmark.

Usage

align.bilat(A, pt1, pt2, landmark.pairs, show.plot = TRUE, verbose = TRUE)

Arguments

A

A 3-dimensional array containing XY shape coordinates for multiple specimens, or a list containing such as an array and data provenance.

pt1

A number or numeric vector of landmarks specifying one of two points to define the line of symmetry.

pt2

A number or numeric vector of landmarks specifying the second of two points to define the line of symmetry.

landmark.pairs

A matrix with two columns. Rows pair landmarks. Landmarks in the second column will be reflected across the line of symmetry and averaged with the paired landmark. Landmark numbers in the first column will be retained.

show.plot

A logical argument specifying whether to display a plot comparing the distributions of variance in landmark distances, corrected for centroid size, before and after alignment to the fixed angle.

verbose

A logical argument specifying whether to display summary statistics on the degree of asymmetry in the specimens.

Value

Returns a list with coords, provenance, and any other potential list elements from the input.

Source

Dave Angelini david.r.angelini@gmail.com [aut, cre]

Examples


This function is still under development!


aphanotus/borealis documentation built on Nov. 4, 2022, 8:44 p.m.