I have binary data (0,1) from molecular markers amplification for 79 genotypes with 60 markers recorded. My data has NAs which i omitted when calculating the distance dist(). Now i am bit confused which R commands i can apply to detect my AMOVA analysis. I have gone through several websites and papers but i became more confused especially that the function (structure) doesn't work and every time i insert this command (amova(samples, dist(samples), str(samples)) gave me error! *samples are data frame and NAs are excluded from it. Where is the mistake then