RE: [MORPHMET] Trouble with 2-D morphomeric analysis in geomorph

2018-08-02 Thread Murat Maga
m/a/morphometrics.org/group/morphmet/subscribe>
X-MXTHUNDER-Identifier:  

X-MXTHUNDER-IP-Rating:  1, 128.95.242.222, Ugly c=0.237282 p=-0.2 Source Normal
X-MXTHUNDER-Scan-Result:  0
X-MXTHUNDER-Rules: 
0-0-0-19705-c
X-MXTHUNDER-Clean:  Yes
X-MXTHUNDER-Group:  OK

Ian at which level of the code you are getting an error? I am not seeing an=
 error message below.=20

If you mean your results are non-sensical, that can be due to a variety of =
reasons beginning from inconsistent ordering of landmarks in samples. Perha=
ps try with minimal options and modification, until you get more familiar w=
ith geomorph and gpagen and its output. Starting with the provided example =
in the ?gpagen and modifying it oo work with your own data would be a good =
start.=20

M


-Original Message-
From: Ian F =20
Sent: Wednesday, August 1, 2018 11:12 AM
To: MORPHMET 
Subject: [MORPHMET] Trouble with 2-D morphomeric analysis in geomorph

I am trying to do an analysis of three specimens. I am using semi-landmarks=
 and having trouble. perhaps someone can point out mt error? these are my r=
esults

Generalized Procrustes Analysis
with Partial Procrustes Superimposition

-4 fixed landmarks
12 semilandmarks (sliders)
2-dimensional landmarks
6 GPA iterations to converge
Minimized Bending Energy used


Consensus (mean) Configuration

   X   Y
[1,]  0.51447153 -0.03794928
[2,]  0.36957021  0.11431610
[3,] -0.11602250  0.19898458
[4,] -0.40489951  0.11095030
[5,] -0.43738229 -0.09965594
[6,] -0.20913543 -0.09698422
[7,]  0.04257626 -0.09131803
[8,]  0.29799009 -0.04811314

it should be three individuals with 4 landmarks and 4 sliders each. i want =
to perform PCA on the procrustes coordinates. my code and data are below. I=
m new to R and its probably an easy fix im just really confused. any help i=
s greatly appreciated. =20






Code:Y <- arrayspecs(coordsrformat, k=3D2, p=3D ncol(coordsrformat)/2)

slidermatrix

Y.gpa <- gpagen(Y,curves=3Dslidermatrix)  =20
summary(Y.gpa)
plot(Y.gpa)

Y.gpa <- gpagen(Y,curves=3Dslidermatrix,ProcD=3DFALSE )  =20
summary(Y.gpa)
plot(Y.gpa)
a<-(Y.gpa$coords)
plotTangentSpace(a)=20




slider matrix: =20

before  slide   after
5   6   7
7   8   1
1   2   3
3   4   5
1   8   7
7   6   5
5   4   3
3   2   1
1   2   3
3   4   5
5   6   7
7   8   1


coordsrformat:


163018271530154911981345908 1557833 1840
1027189512231907141718=
87=20
2767108126331581213920471693175315351159
18411067215110092437=
1071=20
2956928 29361692211223601300178413041016
1700888 2084832 2480872



--=20
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
---=20
You received this message because you are subscribed to the Google Groups "=
MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to morphmet+unsubscr...@morphometrics.org.

--=20
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
---=20
You received this message because you are subscribed to the Google Groups "=
MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to morphmet+unsubscr...@morphometrics.org.



[MORPHMET] Trouble with 2-D morphomeric analysis in geomorph

2018-08-02 Thread Ian F
I am trying to do an analysis of three specimens. I am using semi-landmarks and 
having trouble. perhaps someone can point out mt error? these are my results

Generalized Procrustes Analysis
with Partial Procrustes Superimposition

-4 fixed landmarks
12 semilandmarks (sliders)
2-dimensional landmarks
6 GPA iterations to converge
Minimized Bending Energy used


Consensus (mean) Configuration

   X   Y
[1,]  0.51447153 -0.03794928
[2,]  0.36957021  0.11431610
[3,] -0.11602250  0.19898458
[4,] -0.40489951  0.11095030
[5,] -0.43738229 -0.09965594
[6,] -0.20913543 -0.09698422
[7,]  0.04257626 -0.09131803
[8,]  0.29799009 -0.04811314

it should be three individuals with 4 landmarks and 4 sliders each. i want to 
perform PCA on the procrustes coordinates. my code and data are below. Im new 
to R and its probably an easy fix im just really confused. any help is greatly 
appreciated.  






Code:Y <- arrayspecs(coordsrformat, k=2, p= ncol(coordsrformat)/2)

slidermatrix

Y.gpa <- gpagen(Y,curves=slidermatrix)   
summary(Y.gpa)
plot(Y.gpa)

Y.gpa <- gpagen(Y,curves=slidermatrix,ProcD=FALSE )   
summary(Y.gpa)
plot(Y.gpa)
a<-(Y.gpa$coords)
plotTangentSpace(a) 




slider matrix:  

before  slide   after
5   6   7
7   8   1
1   2   3
3   4   5
1   8   7
7   6   5
5   4   3
3   2   1
1   2   3
3   4   5
5   6   7
7   8   1


coordsrformat:


163018271530154911981345908 1557833 1840
102718951223190714171887 
2767108126331581213920471693175315351159
184110672151100924371071 
2956928 29361692211223601300178413041016
1700888 2084832 2480872



-- 
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
--- 
You received this message because you are subscribed to the Google Groups 
"MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to morphmet+unsubscr...@morphometrics.org.