plotLM: Scatter plot of Generalized Procrustes Analysis (GPA)...

Description Usage Arguments Details Author(s) References See Also Examples

View source: R/plotLM.R

Description

This function generates a scatter plot of GPA coordinates of anchor landmarks, with the option of making a wireframe plot by joining mean GPA coordinates of adjacent landmarks.

Usage

1
2
3
plotLM(x, tit = "", pointscale = 1, axispointscale = 1, meansize = 1,
  polygon.outline = FALSE, xbound = NULL, ybound = NULL,
  pch.suppress = FALSE)

Arguments

x

an array containing GPA coordinate data of anchor landmarks

tit

title of the plot

pointscale

a numeric constant for controlling the symbol size for observations

axispointscale

a numeric constant for controlling the font size of labels of values on the xy axes

meansize

a constant for controlling the symbol size of the mean coordinates

polygon.outline

if TRUE, a wireframe plot connecting all adjacent landmarks is made

xbound

a numeric vector specifying the range of x values for the plot

ybound

a numeric vector specifying the range of y values for the plot

pch.suppress

if TRUE, only the mean coordinates of the landmarks are plotted

Details

The resulting scatter plot is an important graphical sanity check for potential problems after performing GPA.

Author(s)

Tsung Fei Khang tfkhang@um.edu.my

References

Khang TF, Soo OYM, Tan WB, Lim LHS. (2016). Monogenean anchor morphometry: systematic value, phylogenetic signal, and evolution. PeerJ 4:e1668.

See Also

procrustesFit, stdLM

Examples

1
2
3
4
5
data(liewi_gpa)

nice_title <- expression(paste("Dorsal anchor ", italic(L.liewi)))
plotLM(liewi_gpa, tit=nice_title, pointscale=0.8, axispointscale=0.8,
meansize=1.2, polygon.outline=TRUE,c(-.6,.6),c(-.6,.6) )

monogeneaGM documentation built on May 29, 2017, 9:18 p.m.