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