invers {seqinr} | R Documentation

## invers

### Description

Reverse a sequence. For example, `"a","c","g","t"` is transformed into `"t","g","c","a"`.

### Usage

    invers(seq)

### Arguments

`seq` | A vector of chars

### Value

return a vector of character.

### Author(s)

D. Charif

### References

`citation("seqinr")`

### See Also

`rev`

### Examples

    s=s2c("acgtgctcgtataatatgccc")
    invers(s)

[Package seqinr version 1.0-4 Index]