Re: [MORPHMET] A question about PCA in geomorph

2015-04-12 Thread Mauro Cavalcanti
Michael, Thanks for your helpful message. Indeed, after posting my question about plot customization, I was able to generate a PCA plot from plotTangentSpace with axes labels, using the "par" function immediately before calling the plotTangentSpace routine, as follows: par(xlab="PC 1", ylab="PC 2"

Re: [MORPHMET] A question about PCA in geomorph

2015-04-12 Thread Tim Astrop
Cheers Michael, I look forward to playing around with that! Tim *Tim Astrop PhD * Ammonoid Palaeobiology Lab Department of Biology & Biochemistry University of Bath On 12 April 2015 at 15:52, Collyer, Michael wrote: > Mauro, plu

Re: [MORPHMET] A question about PCA in geomorph

2015-04-12 Thread Collyer, Michael
Mauro, plus others, As a follow up, we are also working on a new function in geomorph to allow users to modify transformation (deformation) grids. Much like the R par function, this function will allow users to vary the colors, width, and style of grid lines and link links, the density of grid

Re: [MORPHMET] A question about PCA in geomorph

2015-04-12 Thread Collyer, Michael
Mauro, The extractable parts from prcomp() are also extractable from plotTangentSpace. One can make custom plots, relabel axes, change symbols, etc. Example: myplot = plotTangentSpace(mydata) attributes(myplot) # shows extractable parts PC.scores = myplot$x par(…) plot(PC.scores, …) Keep in

Re: [MORPHMET] A question about PCA in geomorph

2015-04-12 Thread Mauro Cavalcanti
Dear Emma & ALL, Indeed, when reading my data with readland.nts I get the data in the format required by the geomorph analytical routines. The problem is that I was calling by mistake a routine from Ian Dryden's shapes package (procGPA) to generate the Procrustes-aligned coordinates, instead of th

[MORPHMET] A question about PCA in geomorph

2015-04-11 Thread Mauro Cavalcanti
Dear ALL, I have a number of questions about the geomorph R package, that I will post here in separate messages. First one concerns Principal Components Analysis, using the plotTangentSpace routine. It requires a 3D matrix as argument, however my data (on fishes) are 2D and I could not figure out