rc {insect} | R Documentation |
Reverse complement DNA in character string format.
Description
This function reverse complements a DNA sequence or vector of DNA sequences that are stored as character strings.
Usage
rc(z)
Arguments
z |
a vector of DNA sequences in upper case character string format. |
Details
This function accepts only DNA sequences in concatenated character
string format, see complement
in the ape
package for "DNAbin" input objects, and comp
in the
seqinr
package for when the input object is a character
vector.
Value
a vector of DNA sequences as upper case character strings.
Author(s)
Shaun Wilkinson
Examples
rc("TATTG")
[Package insect version 1.4.2 Index]