Skip to content
Prev 209 / 490 Next

Pegas vs Arlequin, and negative AMOVA values

----- Le 5 Mai 20, ? 0:36, Marc Dom?nech Andreu <mdomenan at gmail.com> a ?crit :
model = "N" is the Hamming distance (absolute number of differences between two sequences) 

model = "raw" is the Hamming distance divided by the sequence length (aka uncorrected distance, or p-distance) 

About the use of 'pairwise.deletion' in dist.dna(): in fact there is no simple/unique solution for this option. It depends very much on the data at hand and the distribution of "missing data", especially gaps. You need to check their distribution, for example with image(x) of image(x, what = "-") where 'x' is the DNA data. You may get nonsensical results leaving the default pairwise.deletion = FALSE if there are long gaps. Even a small number of gaps may be problematic if there are in a column (site) which is polymorphic. 

Best, 

Emmanuel