This function implements a general purpose Hamming distance.
a matrix or a data frame.
This function should work for a wide range of data types. A typical
usage would be with an object of class
For objects of class
c("haplotype", "DNAbin"), it is better to
dist.dna(x, "n") to compute the Hamming distances.
an object of class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.