Trouble warping mean shape into PC axes

156 views
Skip to first unread message

Pablo Fisichella

unread,
Feb 14, 2017, 12:21:15 PM2/14/17
to geomorph R package
Dear Geomorph team and users

I am trying to use the function WarpRefMesh in order to visualize the shape changes along PC axes. I used the PCA function  pca.x$coords <- plotTangentSpace(proc$coords, label=TRUE,mesh=x), which incorporates the function mesh in this case x which is a .ply mesh of a sectioned hominin molar. However, the analysis shed this error although the PCA plot appear along with RGL device but without the warped mesh. 

Warping mesh to negative end of axis 1
Error in t.default(mesh$vb) : el argumento no es una matriz

Can anyone make a suggestion on how to solve this?

thanks in adavance

Pablo 

Adams, Dean [EEOBS]

unread,
Feb 14, 2017, 1:06:44 PM2/14/17
to Pablo Fisichella, geomorph R package

Pablo,


This is telling you that your mesh is missing the ‘vb’ components. 

Typically, the order of operations is:

 

1: read in data

2: perform GPA and obtain reference shape

3: read in 3D mesh for some specimen

4: use warpRefMesh() to warp the 3D ply mesh from that specimen to the reference

   Example: warpRefMesh(myply,scallops[,,1], ref, color=NULL,  centered=T)

 

5: use this mesh in the PCA for graphics.

 

The geomorph user guide has additional comments on usage: https://github.com/geomorphR/geomorph/wiki

 

Hope this helps.

 

Dean

 

Dr. Dean C. Adams

Professor

Department of Ecology, Evolution, and Organismal Biology

       Department of Statistics

Iowa State University

www.public.iastate.edu/~dcadams/

phone: 515-294-3834

--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To post to this group, send email to geomorph-...@googlegroups.com.
Visit this group at https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/67c8c2c3-0eec-4693-a01b-594c28663e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages