Learn R Programming

Rqc (version 1.6.2)

toRRDNA: 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).

See Also

perFileTopReads

Examples

Run this code
dna <- "ATCGNATCGTA"
dna.converted <- toRRDNA(dna)
nchar(dna)
nchar(dna.converted)

Run the code above in your browser using DataLab