toRRDNA {Rqc} | R Documentation

## Title: Convert DNA sequences to Reduced Representation format

### Description

This function receives a vector of strings (character vector) containing DNA sequences and returns a vector of strings containing codified DNA.

### Usage

    toRRDNA(dnas)

### Arguments

`dnas` | Vector of DNA sequences (character vector).

### Value

Vector of DNA converted to reduced representation format (character vector).

### Note

This function is used internally to compute top over-represented reads and to store in RqcResultSet objects (per file top reads).

### Author(s)

Welliton Souza

### See Also

`perFileTopReads`

### Examples

    dna <- "ATCGNATCGTA"
    dna.converted <- toRRDNA(dna)
    nchar(dna)
    nchar(dna.converted)

[Package Rqc version 1.16.2 Index]