search_bcs: search_bcs

View source: R/Similarity_Functions.R

search_bcsR Documentation

search_bcs

Description

Given a specific barcode, the function carries out searches in the database and returns the barcodes displaying the higher simmilarity with the query barcode.

Usage

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
)

Arguments

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.

Examples

## 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)

jfores/DocTDA documentation built on March 19, 2022, 9:37 p.m.