revString {annotate} | R Documentation |
These functions will reverse a DNA character string and then convert to its complement. Useful for matching to DNA sequences when you have the wrong strand sequence.
revString(x) revBase(x)
x |
A character string or vector of character strings representing a DNA sequence. By default this should only contain A, C, G, T, and possibly N. |
A character string or vector of character strings.
James W. MacDonald
revString("AAACGCTGCGTTTG")