.getMinDist | R Documentation |
Calculates the minimum distance to a set of predefined barcodes for a given list of barcode.
.getMinDist(BC_dat, ori_BCs, m = "hamming")
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). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.