data(plethodon)
Y.gpa<-gpagen(plethodon$land) #GPA-alignment
ref<-mshape(Y.gpa$coords)
# Different plotting options
plotRefToTarget(ref,Y.gpa$coords[,,39])
plotRefToTarget(ref,Y.gpa$coords[,,39],mag=3) #magnify difference by 3X
plotRefToTarget(ref,Y.gpa$coords[,,39],method="vector")
plotRefToTarget(ref,Y.gpa$coords[,,39],method="points")
# Three dimensional data
data(scallops)
Y.gpa<-gpagen(A=scallops$coorddata, curves=scallops$curvslide, surfaces=scallops$surfslide)
ref<-mshape(Y.gpa$coords)
plotRefToTarget(ref,Y.gpa$coords[,,1],method="points")
Run the code above in your browser using DataLab