I have a dataset of binary data, and my PhD supervisor asked me to compute an AMOVA on it. I'm not familiar with such a test, furthermore the error messages are not convenient (private joke).
So If I understood I need a frequency of each marker in every group so I have 3 groups.
V1 V2 V3
1 0 0 5
2 33 35 32
3 25 25 24
4 13 20 33
5 67 65 61
6 0 0 1
7 79 85 80
…
Then I get a matrix of euclidean distance between sample:
B-40-2x-T B-41-2x-T B-43-2x-T B-47-2x-T B-52-2x-T B-72-3x-T B-73-2x-A
B-41-2x-T 3.000000
B-43-2x-T 2.828427 3.316625
B-47-2x-T 3.872983 4.242641 4.123106
B-52-2x-T 3.464102 3.872983 3.741657 3.000000
B-72-3x-T 3.741657 3.872983 3.741657 3.316625 2.828427
B-73-2x-A 3.162278 3.000000 3.162278 3.605551 2.828427 2.828427
B-75-4x-T 3.872983 4.472136 4.358899 4.000000 4.582576 4.582576
Well, I get the usual "Erreur dans amova(frec, distE) : Non convenient samples"
Looking at the example I did something obviously wrong, because the rownames of the "sample" should agree with the names of "distances" matrix…
So I am lost, I try to get some analyse of the groups of individual not groups of alleles…
And calculating the "distance" between alleles in function of the sample that present them doesn't seem to make sense…
So who could help me in understanding how this test should work? how to understand the basis. How to compute it and how to analyse output?
Thanks in advance.