barcodes <- c("ACG", "CGT", "TGC")
analyse.barcodes(barcodes)
##
## Description hamming seqlev levenshtein
## Mean Distance 2.666667 1.666667 2.333333
## Median Distance 3.000000 2.000000 2.000000
## Minimum Distance 2.000000 1.000000 2.000000
## Maximum Distance 3.000000 2.000000 3.000000
## Guaranteed Error Correction 0.000000 0.000000 0.000000
## Guaranteed Error Detection 1.000000 0.000000 1.000000
Run the code above in your browser using DataLab