plotAllometry(f1, f2 = NULL, method = c("CAC", "RegScore", "PredLine"),
warpgrids = TRUE, iter = 249, label = NULL, mesh = NULL,
logsz = TRUE, RRPP = FALSE, verbose = FALSE)
warpRefMesh
).procD.lm
gpagen
]. The abscissa
of the plot is size (or log of size) while the ordinate represents shape [NOTE: the function takes the
input size and performed log-transformation automatically by default (logsz = TRUE), as log(Size) should be used].
Three complementary approaches can be implemented to visualize allometry:
data(ratland)
Y.gpa<-gpagen(ratland,PrinAxes=FALSE) #GPA-alignment
#Using CAC for plot
plotAllometry(Y.gpa$coords ~ Y.gpa$Csize, method="CAC", iter=9)
#Using Regression Scores for plot
plotAllometry(Y.gpa$coords ~ Y.gpa$Csize, method="RegScore", iter=9)
#Using predicted allometry curve for plot
plotAllometry(Y.gpa$coords ~ Y.gpa$Csize, method="PredLine", iter=9)
Run the code above in your browser using DataLab