View source: R/Similarity_Functions.R
search_bcs | R Documentation |
Given a specific barcode, the function carries out searches in the database and returns the barcodes displaying the higher simmilarity with the query barcode.
search_bcs( bc_to_test, bc_to_test_name, level_one, level_two, dir_bcs = "/media/data/jaume/DocTDA/Data/Round_1/Barcodes", n_cores, lev_one_thr = 0.8, lev_two_thr = 0.85, lev_three_thr = 0.9 )
bc_to_test |
Problem barcode. |
bc_to_test_name |
Probelm barcode name. |
level_one |
Level one clustering data of the database derived from get_level_one function |
level_two |
Level two clustering data from the database derived from the get_level_two funciton. |
dir_bcs |
Directory where the barcodes for the datbase structures are stored. |
n_cores |
Number of cores available for parallel colmuting. |
lev_one_thr |
Similarity threshold for level one clustering medioids. |
lev_two_thr |
Similarity threshold for level two clustering medioids. |
lev_three_thr |
Similarity thresuld for level three results. |
## Not run: search_bcs(bc_to_test,bc_to_test_name,level_one,level_two,dir_bcs = "/media/data/jaume/DocTDA/Data/Round_1/Barcodes",n_cores,lev_one_thr = 0.8,lev_two_thr = 0.85,lev_three_thr = 0.90) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.