initIUPAClookupTable {transite} | R Documentation

## Initializes the IUPAC lookup table

### Description

Initializes a hash table that serves as a IUPAC lookup table for the `generateIUPACByMatrix` function.

### Usage

    initIUPAClookupTable()

### Details

IUPAC RNA nucleotide code:

`A` | Adenine
`C` | Cytosine
`G` | Guanine
`U` | Uracil
`R` | A or G
`Y` | C or U
`S` | G or C
`W` | A or U
`K` | G or U
`M` | A or C
`B` | C or G or U
`D` | A or G or U
`H` | A or C or U
`V` | A or C or G
`N` | any base

### Value

an environment, the IUPAC lookup hash table

### References

http://www.chem.qmul.ac.uk/iubmb/misc/naseq.html

### See Also

Other motif functions: `generateIUPACByKmers`, `generateIUPACByMatrix`, `generateKmersFromIUPAC`, `getMotifById`, `getMotifByRBP`, `getMotifs`, `getPPM`, `motifsMetaInfo`, `setMotifs`

### Examples

    generateIUPACByMatrix(motifMatrix(getMotifById("M178_0.6")[[1]]),
      code = initIUPAClookupTable())

[Package transite version 1.0.2 Index]