findMeanSpec: Identify specimen closest to the mean of a set of aligned specimens

Description

A function to identify which specimen lies closest to the estimated mean shape for a set of aligned specimens.

Usage

1

Arguments

A

A 3D array (p x k x n) containing landmark coordinates for a set of aligned specimens

Details

Function takes an array of aligned specimens (such as made by gpagen, calculates the distance of each to the estimated mean shape, and returns the name and address of the closest specimen. This function can be used to identify the specimen to be used by warpRefMesh.

Value

Function returns the name and address of the specimen closest to the mean of the set of aligned specimens.

Author(s)

Emma Sherratt

See Also

warpRefMesh


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.