powered by
Calculate Hamming distance of two character vectors
hamming_distance(a, b)
a vector of hamming similarities of the strings
the first character vector
hamming_distance( c("ACGTCGATGACGTGATGCGTAGCGTA", "ACGTCGATGTGCTCTCGTCGATCTAC"), c("ACGTCGACGACGTGATGCGCAGCGTA", "ACGTCGATGGGGTCTCGTCGATCTAC") )
Run the code above in your browser using DataLab