Learn R Programming

polyRAD (version 1.6)

reverseComplement: 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, ...)

Value

A character vector.

Arguments

x

A vector of character strings indicating DNA sequence using IUPAC codes.

...

Additional arguments (none implemented)

Author

Lindsay V. Clark

See Also

readDArTag uses this function internally.

Examples

Run this code
reverseComplement(c("AAGT", "CCA"))

Run the code above in your browser using DataLab