match.bs: Identify matches between query and dictionary

match.bsR Documentation

Identify matches between query and dictionary

Description

Wrapper around matchPdict to identify matches between a query string query and dictionary dict (both BString objects or subclasses)

Wrapper around matchPdict to identify matches between a query string query and dictionary dict (both BString objects or subclasses)

Usage

match.bs(query, dict, midpoint = FALSE)

match.bs(query, dict, midpoint = FALSE)

Arguments

query

Query XStringSet / DNAStringSet

dict

Dictionary

midpoint

Flag for output the coordinates of the match as the location, where the midpoint of the dict string matches the given query. Default FALSE

Value

a vector of indices of length width(query) that contains indices of the (starting) dictionary in the query string

a vector of indices of length width(query) that contains indices of the (starting) dictionary in the query string


mskilab/skitools documentation built on July 5, 2024, 7:27 a.m.