fromRRDNA {Rqc} | R Documentation

## Revert codified DNA sequences to original DNA sequences.

### Description

This function receives a vector of strings containing codified DNA and returns a vector of string containing original DNA sequences.

### Usage

    fromRRDNA(rrdnas)

### Arguments

`rrdnas` | Vector of codified DNA (character vector).

### Value

Vector of original DNA sequences (character vector).

### Note

This function is used internally to restore original DNA sequences stored in RqcResultSet objects (per file top reads).

### Author(s)

Welliton Souza

### See Also

`perFileTopReads`

### Examples

    dna <- "ATCG"
    dna.converted <- toRRDNA(dna)
    dna.reverted <- fromRRDNA(dna.converted)
    all.equal(dna, dna.reverted)

[Package Rqc version 1.17.3 Index]