rc {dada2} | R Documentation

## Reverse complement DNA sequences.

### Description

This function reverse complements DNA sequence(s) provided. This function is nothing more than a concisely-named convenience wrapper for `reverseComplement` that handles the `character` vector DNA sequences generated in the the dada2 package.

### Usage

    rc(sq)

### Arguments

`sq` | (Required). `character`. The DNA sequence(s) to reverse-complement. `DNAString`, or `DNAStringSet` formats are also accepted.

### Value

`character`. The reverse-complemented DNA sequence(s).

### See Also

`reverseComplement`

### Examples

    R1492 <- "RGYTACCTTGTTACGACTT"
    rc(R1492)
    sqs <- getSequences(system.file("extdata", "example_seqs.fa", package="dada2"))
    rc(sqs)

[Package dada2 version 1.14.1 Index]