read.morphologika: Read landmark data from Morphologika file
Description
Read Morphologika file (*.txt) to obtain landmark
coordinates and specimen information
Usage
read.morphologika(file)
Arguments
file
A Morphologika *.txt file containing two- or
three-dimensional landmark data.
Value
Function returns a (p x k x n) array of the coordinate
data. If other optional headers are present in the file
(e.g. "[labels]" or "[wireframe]") function returns a list
containing the "coords" array, and data matrix of "labels"
and or "wireframe".
Details
This function reads a *.txt file in the Morphologika format
containing two- or three-dimensional landmark coordinates.
Morphologika files are text files in one of the standard
formats for geometric morphometrics (see O'Higgins and
Jones 1998,2006).
If the headers "[labels]" and "[labelvalues]" are present,
then a data matrix containing all individual specimen
information is returned. If the header "[wireframe]" is
present, then a matrix of the landmark addresses for the
wireframe is returned (see plotRefToTarget
option 'links')
References
O'Higgins P and Jones N (1998) Facial growth in Cercocebus
torquatus: An application of three dimensional geometric
morphometric techniques to the study of morphological
variation. Journal of Anatomy. 193: 251-272
O'Higgins P and Jones N (2006) Tools for statistical shape
analysis. Hull York Medical School.