View source: R/Sero_Placement_Functions.R
| string.diff | R Documentation |
This function calculates the number of nucleotide position differences between two equal length character strings. We use this in order to calculate all possible mismatch values between query and references sequences in order to re-sort the reference sequences into the appropriate order.
string.diff(a, b, exclude = c("n", "N", "?"), ignore.case = TRUE)
a |
A character string, equal in length to b. |
b |
A character string, equal in length to a. |
exclude |
Characters which to exclude from mismatch calculation. |
ignore.case |
TRUE/FALSE whether to ignore case of characters. |
A number value which is the number of nucleotide differences between the two inputted strings.
string.diff(a = "AAAAACA",b = "AAAAGCA",exclude = c("n","N","?"),ignore.case = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.