toComplex {Biostrings} | R Documentation

## Converting a DNAString to a vector of complexes

### Description

[TODO]

### Usage

      toComplex(x, baseValues)

### Arguments

`x` | A `DNAString` object.
`baseValues` | A named complex vector containing the values associated to each base e.g. `c("A"=1+0i, "G"=0+1i, "T"=-1+0i, "C"=0-1i)`

### Author(s)

H. Pages

### See Also

DNAString

[Package Biostrings version 2.8.18 Index]