Calculates the minimum distance to a set of predefined barcodes for a given list of barcode.
.getMinDist(BC_dat, ori_BCs, m = "hamming")
a BCdat object
a character vector containing barcodes to which the minimal hamming distance will be calculated.
a character string, Method for distance calculation, default value is Hamming distance. Possible values are "osa", "lv", "dl", "hamming", "lcs", "qgram", "cosine", "jaccard", "jw", "soundex" (see stringdist function of the stringdist-package for more information).