reverseComplement {polyRAD} | R Documentation |
Reverse Complement of DNA Sequence Stored as Character String
Description
Whereas the reverseComplement
function available in Biostrings only
functions on XString
and XStringSet
objects, the version in
polyRAD also works on character strings. It is written as an S4 method
in order to avoid conflict with Biostrings. It is primarily included for
internal use by polyRAD, but may be helpful at the user level as well.
Usage
reverseComplement(x, ...)
Arguments
x |
A vector of character strings indicating DNA sequence using IUPAC codes. |
... |
Additional arguments (none implemented) |
Value
A character vector.
Author(s)
Lindsay V. Clark
See Also
readDArTag
uses this function internally.
Examples
reverseComplement(c("AAGT", "CCA"))
[Package polyRAD version 2.0.0 Index]