readland.tps(file, specID = c("None", "ID", "imageID"), readcurves = FALSE, warnmsg = T)
The user may specify whether specimen names are to be extracted from the 'ID=' field or 'IMAGE=' field and included in the resulting 3D array. e.g., for 'ID=' use (file, specID = "ID") and for 'IMAGE=' use (file, specID = "imageID"). The default is specID="None".
If there are curves defined in the file (i.e., CURVES= fields), the option 'readcurves' should be used.
When readcurves = TRUE, the coordinate data for the curves will be returned as semilandmarks and will be appended to
the fixed landmark data. Then the user needs to use define.sliders
or define.sliders
to create a matrix designating how the curve points will slide (used by 'curves=' in gpagen
).
When readcurves = FALSE, only the landmark data are returned.
NOTE: At present, all other information that can be contained in tps files (comments, variables, radii, etc.) is ignored.