multiMismatch | R Documentation |
Find fewest mismatches (and position if desired) between pattern and string without allowing gaps. Could be programmed better but quick enough for now
multiMismatch(patterns, subject, drop = TRUE, ...)
patterns |
A vector of string patterns to search for in subject |
subject |
A single subject string to search in |
drop |
If TRUE return only return the first best match |
... |
Additional arguments for bestMismatch |
Three column matrix with columns minMismatch, position, pattern number
Scott Sherrill-Mix R@sherrillmix.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.