XNAReverseComplement {XNAString} | R Documentation

## Reverse complement sequence based on dictionary

### Description

Reverse complement sequence based on dictionary

### Usage

    XNAReverseComplement(obj, ...)

    ## S4 method for signature 'XNAString'
    XNAReverseComplement(obj)

### Arguments

`obj` | XNAString object
`...` | optional arguments to generic function to support additional methods

### Value

string with reverse complement sequence

### Examples

    my_dic <- data.table::data.table(
      type = c(
        rep("base", 3),
        rep("sugar", 2),
        rep("backbone", 3)
      ),
      symbol = c("G", "E", "A", "F", "O", "S", "B", "X")
    )
    obj <- XNAString(
      name = "b",
      base = "GGE",
      sugar = "FFO",
      dictionary = my_dic
    )
    XNAReverseComplement(obj)

[Package XNAString version 1.2.2 Index]