Displaying 1 result from an estimated 1 matches for "sequencee".
Did you mean:
sequence
2012 Feb 11
1
AMOVA error: 'bin' must be numeric or a factor
...lt;- factor(c(rep("A", 7), rep("B", 8)))
I cannot find any information about what this c(rep....) does. Do
anyone know about a proper manual for the amova function?
My input file for g looks like this:
sequenceA 1
sequenceB 1
sequenceC 1
.
.
.
.
sequenceD 5
.
.
sequenceE 9
sequenceF 9
Where sequenceA is in group 1, sequenceD is in group 5 and so on...
If I type is.factor(g)
I get FALSE
I have also checked that the d (a matrix file) is a numeric file. It
should be correct.
is.numeric(d)
TRUE
Any help will be very much appreciated!
Cheers,
Hanne