get_mapped_barcode_indices: Find Indices of Potential Barcode Mappings

Description Usage Arguments Value

Description

get_mapped_barcode_indices takes a vector of barcodes and a single read, then returns the indices of the barcodes that were within two hamming distance units from the read.

Usage

1
get_mapped_barcode_indices(barcodes, read, distance_threshold = 2)

Arguments

barcodes

Character vector of reference sequences

read

Character string with the same length as each barcode in barcodes

distance_threshold

Integer specifying the Hamming distance threshold for which we want to filter barcodes

Value

Returns a vector of integers which are the indices of barcodes within 2 Hamming distance of the read


Benji-Wagner/SequenceMapper documentation built on June 6, 2019, 1:08 p.m.