A modified vmatchPattern function that supports indels and mismatches
vmatchPattern2.Rd
A modified vmatchPattern function that supports indels and mismatches
Usage
vmatchPattern2(
pattern,
subject,
max.mismatch = 0,
min.mismatch = 0,
with.indels = FALSE,
fixed = TRUE,
algorithm = "auto"
)
Arguments
- pattern
String to search for
- subject
DNAStringSet to query
- max.mismatch
Maximum number of mismatches allowed
- min.mismatch
Minimum number of mismatches allowed
- with.indels
Boolean for whether to include indels
- fixed
Boolean for whether to match character symbols
- algorithm
Which search algorithm to use. Defaults to "auto"
Examples
if (FALSE) { # interactive()
print("TBD")
}