.getMinDist {genBaRcode} | R Documentation |
Distance calculation
Description
Calculates the minimum distance to a set of predefined barcodes for a given list of barcode.
Usage
.getMinDist(BC_dat, ori_BCs, m = "hamming")
Arguments
BC_dat |
a BCdat object |
ori_BCs |
a character vector containing barcodes to which the minimal hamming distance will be calculated. |
m |
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). |
[Package genBaRcode version 1.2.7 Index]