toRRDNA: Title: Convert DNA sequences to Reduced Representation format

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/RcppExports.R

Description

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

Usage

1
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

1
2
3
4
dna <- "ATCGNATCGTA"
dna.converted <- toRRDNA(dna)
nchar(dna)
nchar(dna.converted)

Rqc documentation built on Nov. 8, 2020, 5:11 p.m.